Back before django got migrations with south it was possible to do:

   syncdb --all (create all tables old way)
   migrate --fake (mark all migrations done)

This flow was very useful in tests as well as when setting up new projects.

I'm a bit confused to as to why django took this route and in 1.9 is making 
migrations absolutely essential. What are people normally now doing to 
avoid running possibly numerous number of migrations every test run or 
every time project is deployed from scratch?

Up until now I was only coming up with workarounds on how to keep my 
migrations from running in tests and fresh installs.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" 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/50066b7e-1e16-4fb7-ae22-2c79bf37d06f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... skyjur
    • ... 'Hugo Osvaldo Barrera' via Django developers (Contributions to Django itself)
    • ... Tim Graham
      • ... Andrew Godwin
        • ... Shai Berger

Reply via email to