"model": "httpconfig.configdirective", "pk": 1, "fields": {

"name": "AcceptPathInfo", "documentation":

"", "is_container": "False"

"model": "httpconfig.configdirective", "pk": 2, "fields": {

"name": "AccessFileName", "documentation":

"", "is_container": "False"

If you copy this file to the project directory and name it initial_data. json, the data from it will be loaded every time you run the syncdb command. Let's now delete all application-related tables if you have created any in the database and re-create it again with the new model and the initial dataset:

Was this article helpful?

0 0

Post a comment