-
Notifications
You must be signed in to change notification settings - Fork 583
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
ModelAdmin must define "search_fields", #1478
Comments
@ahcm I cannot reproduce this. Can you give some version info? |
I can fix it by adding a value to search_fields to ModelAdmin in django.contrib.admin.options. Python 3.11.2 |
Any other packages updated that might interfere with the admin? |
Installed apps are plenty: INSTALLED_APPS = [ |
ERRORS: |
Yes, filer does define them:
Some other code in your projects might be tempering with this. Have you tried to open a shell (
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
In case any one else has this error. My project has a custom User Model. I fixed this by adding search_fields to my customer User model admin. Essentially, this is not a problem with this project, but a field missing from my user model admin. |
@rzwink Thanks for the explanation! |
Hi,
upgrading from Django 2 I get:
These seem to define search_fields though.
Thanks !
Best
Andreas
The text was updated successfully, but these errors were encountered: