Hi there,

I'm running a Django==1.8 app
I read in the docs [1], to consider doing a data migration to load initial
data on db, since  initial fixture is consider deprecated since 1.7.

Well, to keep my app up-to-date I choose to load "initial data" trough a
 data migration.

My problem, SEEMS to be when I run tests using the "--keepdb"

$> python manage.py --keepdb

The second time I run into tests, the inital data is loss!

is there a pattern to solve that, or i need code on tests to check de
initial data and reload it ?


[1]
https://docs.djangoproject.com/en/1.8/howto/initial-data/#automatically-loading-initial-data-fixtures

---------------------------------------------------------------------
Cadu Leite

G+:  google.com/+CarlosLeite
twitter: @cadu_leite
site: http://people.python.org.br/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEM6-QLvZv-tcJ%3DnmO92OovvnKz9NoevJbHCW39t2vR2_DJhOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to