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…

Subscribe:

#django #excel

Create Django Fixtures from Excel/CSV File
6.15 GEEK