#36197: Model.relatedmanager.count() always 0 for custom ManyToMany 
relationships
with through model with to_fields
-------------------------------------+-------------------------------------
     Reporter:  mfontana-elem        |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  5.1
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"c3a23aa02faa1cf1d32e43d66858e793cd9ecac4" c3a23aa]:
 {{{#!CommitTicketReference repository=""
 revision="c3a23aa02faa1cf1d32e43d66858e793cd9ecac4"
 Fixed #36197 -- Fixed improper many-to-many count() and exists() for non-
 pk to_field.

 Regression in 66e47ac69a7e71cf32eee312d05668d8f1ba24bb.

 Thanks mfontana-elem for the report and Sarah for the tests.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36197#comment:6>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019518a7e5a9-b8698bf0-33e1-4a63-925c-f8cf8f339c50-000000%40eu-central-1.amazonses.com.

Reply via email to