Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

load local data to django

Providing initial data for models¶
It’s sometimes useful to pre-populate your database with hard-coded data when you’re first setting up an app. You can provide initial data with migrations or fixtures.

 
PREVIOUS NEXT
Tagged: #load #local #data #django
ADD COMMENT
Topic
Name
9+3 =