-
Notifications
You must be signed in to change notification settings - Fork 16
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
Replace endpoint list filter views with django-filters #704
Conversation
@shapiromatron Ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still checking this out, but I noticed that if I'm unauthenticated, I cannot filter, even on public assessments. The autocomplete fields return 403. This needs to be fixed so that filters work even if you're not logged in.
I fixed this by removing the requirement that autocompletes require authentication. We added this with the dal rewrite #667, so this wasn't introduced in this PR, but just observed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a number of changes and am really happy with how this turned out! I can assign to you to review my changes, and if so, ok to merge :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Updated the list views for animal Endpoint, epi Outcome, epimeta MetaResult, and invitro IVEndpoint to use django-filters instead of our own hand rolled solution.