I am not sure about the best solution for this - maybe add method
may_have_duplicates on filter spec classes, which defaults to current
{{{lookup_needs_distinct}}} call for field filters and raises
{{{NotImplementedError}}} for the others?
--
Ticket URL: <https://code.djangoproject.com/ticket/34605>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* type: Uncategorized => Cleanup/optimization
--
Ticket URL: <https://code.djangoproject.com/ticket/34605#comment:1>
* component: Uncategorized => contrib.admin
Comment:
Hello, thank you for your report.
Could you please provide a minimal django app showcasing the issue? That
will help us further triage this report.Thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/34605#comment:2>
* status: new => closed
* resolution: => needsinfo
Comment:
Forgot to close as needsinfo, but I'm happy to reopen when more
information is provided. Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/34605#comment:3>