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

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -