Monday, July 27, 2015

Django 1.8 migrations not obeying routers in multi db setup

Hi, guys.
Problem: django not loading db router. 
In router.py https://docs.djangoproject.com/en/1.8/topics/db/multi-db/#database-router and pref settings.py
Migrations from 2 other app without --database flag are failed.
Migrations from one app with custom model field in others models are failed.
What i doing wrong? Thanks.

--
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/17958d06-5011-4963-93d9-e682d49aa941%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment