#21879: Error in reverse m2m query if the model with ManyToManyField has CharField primary key -------------------------------------+------------------------------------- Reporter: prashant.a.borde@… | Owner: nobody Type: Bug | Status: new Component: Uncategorized | Version: 1.5 Severity: Normal | Resolution: Keywords: many-to-many | Triage Stage: relationships reverse m2m query | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Anssi Kääriäinen <akaariai@…>): In [changeset:"8b2c1ac06d3d1cf99661f4af75030abb456e1665"]: {{{ #!CommitTicketReference repository="" revision="8b2c1ac06d3d1cf99661f4af75030abb456e1665" Added tests for m2m queries with custom pk on the end models It seems this case was fixed somewhere between 1.5.x and 1.6.x. I added tests as I wasn't able to find any tests for these cases. Refs #21879 }}} -- Ticket URL: <https://code.djangoproject.com/ticket/21879#comment:5> 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/084.51fbfa29d2d0b36cf6b08abd8f224828%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.