#29165 closed Cleanup/optimization (fixed)
Initial data howto could better explain how to use migrations
Reported by: | Michel Samia | Owned by: | Tim Graham |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | initial data migrations |
Cc: | Ed Morley | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This bug describes issues of this documentation page: https://docs.djangoproject.com/en/2.0/howto/initial-data/
The same issues exist in master branch as of today.
According to many sources (e.g. https://www.caktusgroup.com/blog/2015/11/10/initial-data-django/ ), fixtures are deprecated way for managing initial data. It is not mentioned there. Also it doesn't describe how to use migrations for that purpose. Link to https://docs.djangoproject.com/en/1.11/topics/migrations/#data-migrations would be extremely useful.
Change History (6)
comment:1 by , 7 years ago
Easy pickings: | unset |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Summary: | Initial data howto doesn't explain how to use migrations → Initial data howto could better explain how to use migrations |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
comment:2 by , 7 years ago
Cc: | added |
---|
comment:4 by , 7 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
This also came up in #28983 (closed as worksforme). I have a couple ideas in mind about how to improve that page and will propose a patch.