Create Django Fixtures from Excel/CSV File
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- 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:
github.com/ver...
🐱🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.
/ @veryacademy
👍SUBSCRIBE to get more free tutorials, courses and code snippets!
/ @veryacademy