Django 1.8, migrations and database views

21 views
Skip to first unread message

marcin....@gmail.com

unread,
Aug 4, 2015, 11:21:07 AM8/4/15
to Django users
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

marcin....@gmail.com

unread,
Aug 4, 2015, 11:39:24 AM8/4/15
to Django users


Oh my s**t. Django generates operation but does not execute it when migrating. What a mess... 
Solved by Django itself...
Reply all
Reply to author
Forward
0 new messages