Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'lookup_needs_distinct' from 'django.contrib.admin.utils' #40

Open
dirosv-eden opened this issue Feb 2, 2022 · 4 comments

Comments

@dirosv-eden
Copy link

No description provided.

@dirosv-eden
Copy link
Author

i implement on Django 4.0.1 when i installed dal_admin_filter then installed in settings.py showning below

ImportError: cannot import name 'lookup_needs_distinct' from 'django.contrib.admin.utils'

@wushancool
Copy link

Help~

@ambroisie
Copy link

From the release notes:

The undocumented django.contrib.admin.utils.lookup_needs_distinct() function is renamed to lookup_spawns_duplicates().

@qdelcourte
Copy link

Its a django-autocomplete-light issue. See yourlabs/django-autocomplete-light#1260
Seems to be resolved since v3.9.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants