Really helpful video! One question, how could I implement this script to create multiple users for my django project. In all my rows, a person is assigned a user. I want two separate tables: A User A Person Many Persons can have one relation to this one user. As a user, I want their email/username to be unique, how would I use this if all my rows have multiple instances of the same user. I cannot create a table through iteration, as I am adding the same User info multiple times -- leading to a not unique error
Crisis averted. Made use of a try/except and check if there is a User by using the Model.objects.get() method. Thanks again for your helpful video, you rock!
I have been looking for this for weeks! Thank you!
This is great! Thank you saved me tons of research!
You are the best!!
"The world is full of vertical replications.. Good data models are not!" 😂😂😂 fancy!
thank you.
Have a question, you just put load.csv inside the app many?
Thanks
You're awesome, just like 7:29 pew pew ;)
Really helpful video!
One question, how could I implement this script to create multiple users for my django project.
In all my rows, a person is assigned a user.
I want two separate tables:
A User
A Person
Many Persons can have one relation to this one user.
As a user, I want their email/username to be unique, how would I use this if all my rows have multiple instances of the same user. I cannot create a table through iteration, as I am adding the same User info multiple times -- leading to a not unique error
Crisis averted. Made use of a try/except and check if there is a User by using the Model.objects.get() method.
Thanks again for your helpful video, you rock!
Best way to import csv file in django