#23749: migrations.RunPython broken with dbrouters.
-------------------------------------+-------------------------------------
     Reporter:  alfredperlstein      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Migrations           |                  Version:  1.7
     Severity:  Normal               |               Resolution:
     Keywords:  migrations dbrouter  |             Triage Stage:
    Has patch:  0                    |  Unreviewed
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by timgraham):

 Ah yes, that was the ticket I was looking for but couldn't find - forgot
 it had been closed. Anyway, wouldn't `schema_editor.connection.alias` give
 you the name of the database? If so, we should likely document the
 solution.

--
Ticket URL: <https://code.djangoproject.com/ticket/23749#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.df27eb2623e9d7a4a3dcf4eede68a60d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to