#28983: Documentation on providing initial data with migrations is unhelpful -------------------------------------+------------------------------------- Reporter: Rob Atkinson | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Documentation | Version: 2.0 Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham): Regarding inheritance, it's a Python concept rather than a Django-specific one as far as I see. Fixtures are fine to use, just automatic loading of fixtures named `initial_data` is removed. You can also use [https://docs.djangoproject.com/en/dev/topics/testing/tools/#topics- testing-fixtures TransactionTestCase.fixtures] if you want to. I'm not sure what "example of how to do a test" means exactly. The discussion has gone in a number of directions and I'm not sure if leaving the ticket open will be useful as the concrete steps to close it are unclear to me. Maybe it would be better to reopen when you have a patch ready. -- Ticket URL: <https://code.djangoproject.com/ticket/28983#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/073.9d6249779a0fcb5c68a1fa55b7e9adda%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.