Tuesday, August 25, 2015

Re: Turn off migrations completely in Django 1.7


On 25 August 2015 at 16:53, Carl Meyer <carl@oddbird.net> wrote:
I thought we already covered this topic, and `managed=False` should work
for your use case. That's the exact meaning of this flag: "I don't want
Django to manage my database, please never touch it." Have you tried
adding that flag to your models? Does something about that not work for you?


Managed=False is not same. I.e. I can't set managed=False for 3rd party apps (including `django.contrib`)
But to be honest I didn't tried iterate over all INSTALLED_APPS to patch meta options...


BR,
Marcin

--
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/CAB2m7CyVB06KZKXXtFiwZpBTgEkt4n0q5r%2BVwo-V4d29XWNy9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment