#31081: print query doesn't work on multiple db environment with no default
-------------------------------------+-------------------------------------
               Reporter:  haudoing   |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  2.2
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 https://stackoverflow.com/questions/54643900/cant-see-sql-queries-with-
 multiple-database-landscape
 https://stackoverflow.com/questions/34291259/printing-the-sql-query-in-
 django-when-using-a-database-router

 As the description of both stackoverflow question, the function of print
 query of queryset object doesn't respect the router and always using
 default. Thus it raise improperconfigure exception while no default
 database being set.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31081>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.84f82ab8244bb174b0d6ed45acb7d715%40djangoproject.com.

Reply via email to