On 04/19/2014 10:52 AM, Anssi Kääriäinen wrote:
Getting dump-and-reload support for 1.7 seems hard, so from the above
options this leaves just 2) - not deprecating initial_data yet. Or we
need to find some other solution not listed above.
Hmmh, there is actually a pretty straightforward upgrade path for this
case. Just rename your initial_data fixtures to something else, and add
them as normal testing fixtures in your TestCases. Of course, this
requires some work to do, but it is a viable upgrade path.
It is clear that migrations can't be used as a replacement for
initial_data when testing, so we need some improvements to the release
notes in any case.
- Anssi
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/535268EF.3010903%40thl.fi.
For more options, visit https://groups.google.com/d/optout.