#29158: ModelChoiceField crashes when checking choices' length if queryset is a manager -------------------------------------+------------------------------------- Reporter: François Freitag | Owner: François | Freitag Type: Bug | Status: closed Component: Forms | Version: 1.8 Severity: Normal | 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 -------------------------------------+-------------------------------------
Comment (by Gavin Wahl): The fix has introduced a problem where the queryset is cloned while setting it. This causes redudant queries when there are copies of the same for, ie a formset. -- Ticket URL: <https://code.djangoproject.com/ticket/29158#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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/073.4957b7be8344e56588a2e79bb791f50d%40djangoproject.com.