In this tutorial we go through a process of creating data from a CSV file, converting it into JSON so that Django can insert the data into the database. I take you through the process, using PowerShell to covert the CSV file to JSON, adding a few changes and then loading the data into the database. We then notice that we can load multiple files into multiple databases.
Code Repository:
https://github.com/veryacademy/YT_ORM_Prepare_Data_Fixtures
🐱🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.
https://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w/join
👍SUBSCRIBE to get more free tutorials, courses and code snippets!
http://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w?sub_confirmation=1
Download
0 formats
No download links available.
Create Django Fixtures from Excel/CSV File | NatokHD