Is 1.7 RC1 supposed to support migrations changing user model? Not sure whether to report error as bug!

27 views
Skip to first unread message

graeme

unread,
Jul 9, 2014, 3:10:26 AM7/9/14
to django...@googlegroups.com
Having read through the comments on this bug:


I can see that migrations were not originally intended to support changing AUTH_USER_MODEL after the initial migration.

However I am confused about whether it now should. The later comments and the documentation imply that swappable models
should work provided they have migrations.

I got the same error as reported in the bug report, but the workaround was simpler (manually add a dependency on the initial
migration for the app containing my custom user model to the migration that added a foreign key to it).

Is this a bug that should be reported, or do we live with workarounds?

Michael Manfre

unread,
Jul 9, 2014, 9:16:23 AM7/9/14
to django...@googlegroups.com
Report it. Migrations is a new feature and it is better to report any encountered issues now before it is released.

Regards,
Michael Manfre
Reply all
Reply to author
Forward
0 new messages