I have two databases in my project, db1, which changes quite frequently, 
and db2, which seldom changes. The app was original written in django 1.3, 
but we've upgraded since then, and now uses 1.8. Now I need to make a 
change on db2 for the first time since the upgrade from 1.3. I make my 
changes in the model, but when I do python manage.py migrate model_of_db2 
db2, the changes seems to be applyed, but I get an error: 


"Error creating new content types. Please make sure contenttypes "

RuntimeError: Error creating new content types. Please make sure 
contenttypes is migrated before trying to migrate apps individually.


I tried adding a router, but same issue. What am I doing wrong? Do I need 
contenttypes also in db2?


Thanks!


-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/844ea033-380b-4103-86cc-311aec9f5abd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to