We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9586846 commit 903cebbCopy full SHA for 903cebb
docs/filtering.rst
@@ -124,10 +124,14 @@ create your own ``FilterSet``. You can pass it directly as follows:
124
# Do case-insensitive lookups on 'name'
125
name = django_filters.CharFilter(lookup_expr=['iexact'])
126
# Allow multiple genera to be selected at once
127
- genera = django_filters.MultipleChoiceFilter(field_name='genus',
128
- choices=(('Canis', 'Canis'),
129
- ('Panthera', 'Panthera'),
130
- ('Seahorse', 'Seahorse')))
+ genera = django_filters.MultipleChoiceFilter(
+ field_name='genus',
+ choices=(
+ ('Canis', 'Canis'),
131
+ ('Panthera', 'Panthera'),
132
+ ('Seahorse', 'Seahorse')
133
+ )
134
135
136
class Meta:
137
model = Animal
0 commit comments