forked from carltongibson/django-filter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lookup_expr to MultipleChoiceFilter (carltongibson#1054)
This was requested in carltongibson#49 (back when lookup_expr was called lookup_type). This is a minor change, with the added advantage of making ``MultipleChoiceFilter`` perform more like other Filter classes, down to the explicit ``__exact`` filter. As the documentation only mentions ``lookup_expr`` to be available on Filter classes in general, and doesn't mention ``MultipleChoiceFilter`` to be different, no documentation change is necessary.
- Loading branch information
1 parent
3027c9e
commit 9d921c7
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters