-
Notifications
You must be signed in to change notification settings - Fork 36
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
the filter doesn't work for annotated fields #3
Comments
what worked for us is this:
do you think we can add something like that into the project? |
Hi, do you mean this type of annotations? https://docs.djangoproject.com/en/2.2/ref/models/querysets/#annotate |
@freanuperiaa Is not working: The value of 'list_filter[0][1]' must inherit from 'FieldListFilter'. |
@freanuperiaa @fabriziofranco any update on this issue? |
https://github.com/proyecto-agricultores/backend/blob/main/agricultores/admin.py I made my own version for annotated fields, but I did not generalize because of deadlines, it is perfectly functional tho. |
we're trying to use it for annotated field but it doesn't work, says because the model doesn't have such field. Any workaround?
The text was updated successfully, but these errors were encountered: