On Wed, Nov 11, 2015, at 16:47, skyjur wrote:
> 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)

Keep in mind that these are not equivalent to running `migrate`. Data
migrations would never have been run in this scenario.

>
> 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.

Why would you want to avoid this? What's the problem with creating your
tables via migrations instead of syncdb?

> --
>
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[1].
>
For more options, visit https://groups.google.com/d/optout.

--
Hugo Osvaldo Barrera
 


Links:

  1. 
https://groups.google.com/d/msgid/django-developers/50066b7e-1e16-4fb7-ae22-2c79bf37d06f%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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/1447275466.2505322.436441993.4735D8F5%40webmail.messagingengine.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