-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
admin.SimpleListFilter not working on SortableAdmin #242
Comments
Morning @ChrisCrossCrash to be perfectly transparent and honest, I have no idea :) I've been pretty far removed from any Python or Django development for several years. I'm super slammed, so I don't know when I'll be able to take a look at this. You might be able to get some help on Stack Overflow faster. |
@alsoicode No worries! I'm just glad you got back to me so fast. I'll figure something else out for now. Until then, I'd still love to hear from anybody else if they were able to resolve this issue themselves. |
Same issue here @ChrisCrossCrash. How did you end up solving this? |
@cchacholiades Unfortunately I didn't. IIRC I just sorted the JSON data in my front end app by date. |
I'm having some trouble getting the Django Admin's
SimpleListFilter
to work withSortableAdmin
.I've created a simple
models.py
andadmin.py
to demonstrate this.The error happens when a user clicks on "Past" or "Upcoming" to filter the dates while they are on the "Sortable date" list page.
models.py:
admin.py
is
SortableAdmin
just not meant to be compatible withSimpleListFilter
?The text was updated successfully, but these errors were encountered: