Closed pvergain closed 3 years ago
https://github.com/django/django/blob/main/docs/releases/4.0.txt
The undocumented django.contrib.admin.utils.lookup_needs_distinct() function is renamed to lookup_spawns_duplicates().
django.contrib.admin.utils.lookup_needs_distinct()
lookup_spawns_duplicates()
This function is used in https://github.com/yourlabs/django-autocomplete-light/blob/master/src/dal/views.py
Fix in master, thanks to @fraimondo
I believe this is fixed in 3.9.0rc2 release, please reopen if necessary.
Django 4.0
https://github.com/django/django/blob/main/docs/releases/4.0.txt
The undocumented
django.contrib.admin.utils.lookup_needs_distinct()
function is renamed tolookup_spawns_duplicates()
.This function is used in https://github.com/yourlabs/django-autocomplete-light/blob/master/src/dal/views.py