Thursday, September 18, 2014

Re: Turn off migrations completely in Django 1.7

You could always set your models to managed=False https://docs.djangoproject.com/en/dev/ref/models/options/#managed

_Nik

On 9/18/2014 2:04 PM, Anthony Tuininga wrote:
Hi,

I just upgraded my test environment to Django 1.7 and immediately noticed that mgirations appear to be a requirement. Searching the documentation and the code itself seems to indicate that there is no way to disable it, either. Did I miss something? I don't need or want Django to create or alter any database objects and up to Django 1.6 I could quite happily ignore syncdb but it seems I can't ignore migrations. Please advise! Thanks.

Anthony
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9bdd258f-a21b-48a0-ab1b-b3a4123b40c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment