#23102: SQL-Management does not work with DATABASE_ROUTERS set
-------------------------------------+-------------------------------------
     Reporter:  manuel.gysin@…       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Management     |                  Version:  1.7-rc-1
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by areski):

 It's definitely a change of behaviour in Django 1.7.

 In 1.7 we read the models from router.get_migratable_models:
 https://github.com/django/django/blob/master/django/core/management/sql.py#L45
 in 1.6 we read the models from models.get_models:
 https://github.com/django/django/blob/1.6.5/django/core/management/sql.py

 I'm not sure what's the desired implementation for 1.7

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23102#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/088.4f26e31d0299ae8398b9f6cb73cd6203%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to