I'm a beginner, can you tell me , How we can import data if it is released foreignKey with another table? Suppose the name of table is student and columns are Enrolled_No, student_name and foreignKey with Semester table , like the regular way we just have selected , how we can do such thing via import ?
First, ensure that the foreign key data exists in the reference table (Semester table). After that, populate the `student` table, filling the foreign key column in the `student` table with the corresponding IDs from the `Semester` table.
Awesome video! Thank you so much!
My pleasure! Glad that you liked it!
awesome video. Continue your efforts.
Thank you so much! :)
Awesome video. Is there anyway to import it from a frontend instead of the admin.
Thank you! There might be a way, but you may need to set up custom scripting for this.
Thanks
My pleasure!
I'm a beginner, can you tell me , How we can import data if it is released foreignKey with another table? Suppose the name of table is student and columns are Enrolled_No, student_name and foreignKey with Semester table , like the regular way we just have selected , how we can do such thing via import ?
First, ensure that the foreign key data exists in the reference table (Semester table). After that, populate the `student` table, filling the foreign key column in the `student` table with the corresponding IDs from the `Semester` table.
Thank you for your input!
Is there a library that was updated earlier. This looks pretty old
There might be a few. This one has been maintained for Django 5.0, so it's still relevant.
It's probably easier to write your own script to populate the database, but it could be useful...
True, but the main aim is to populate data from an external source
@@CloudWithDjango I know. This is what I was talking about
ruclips.net/video/4DZlvtTvSrY/видео.htmlsi=tg8nCP15Up1y2IRL
I see. This is interesting! Then again, it would depend on what you'd prefer with automation via a package or via scripting