#17520: write queries on related managers use the db_for_read database
-------------------------------------+-------------------------------------
     Reporter:  tobias               |                    Owner:  slafs
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by slafs):

 * needs_better_patch:  1 => 0


Comment:

 I attached a newer version of tobias patch.

 I also added a patch with a test case that shows that the ManyToMany
 scenario is also broken (you can check it
 
[https://github.com/slafs/django/commit/0b647b06b22f3b94b7e4a3a28b508517a607352a
 here] also)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17520#comment:7>
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to