Multiple databases in django with migrations -


i have 2 databases configured, 1 1 tables, table, have in second database, database2. store data, , retrieve data without using router, 'using' attribute on save , get. upgrading our app django 1.8 while ago, , seemed working, table in database2 doesn't change often, has been working ok since upgrade.

but need make change table in database2.

so try manage.py migrate table --database database2. migration seems take, error in end.

runtimeerror: error creating new content types. please make sure contenttypes migrated before trying migrate apps individually.

i've been trying add contentypes , auth fake migrations in database2, still error. adding router make go away? there other ways?

thanks!


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -