[patch] move documention snippet from models-api to django-admin
|Reported by:||anonymous||Owned by:||jacob|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Note that if you have multiple SQL data files, there's no guarantee of the order in which they're executed. The only thing you can assume is that, by the time your custom data files are executed, all the database tables already will have been created.
However, there is no mention of this behavior in the django-admin documentation on the sqlinitialdata option itself, which is where I would have expected it to be (and would have saved me some time). Since you reference and link to the django-admin sqlinitialdata section documentation in the previous paragraph on models-api page, this paragraph would be more appropriate in the django-admin sqlinitialdata section.
Change History (4)
Changed 7 years ago by adurdin@…
comment:1 Changed 7 years ago by adurdin@…
- Summary changed from move documention snippet from models-api to django-admin to [patch] move documention snippet from models-api to django-admin
comment:2 Changed 7 years ago by Simon G. <dev@…>
- Keywords sqlinitialdata documentation added
- Triage Stage changed from Unreviewed to Ready for checkin