Tuesday, August 4, 2015

Re: Django 1.8, migrations and database views



Oh my s**t. Django generates operation but does not execute it when migrating. What a mess... 
Solved by Django itself...


On Tuesday, August 4, 2015 at 5:21:07 PM UTC+2, marcin....@gmail.com wrote:
Hi,

Who knows how to disable auto-making migrations for models mapped to database views?
I've set managed=False but it does nothing. 
Django adds CreateModel operation to migration file, but it shouldn't do that.

Can anyone help? Thanks.

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/133c52d0-ad9c-496f-8e52-7fe8e94c5762%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment