Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
aodarc committed Mar 2, 2018
1 parent ccbc7e3 commit 4c65e8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example/articles/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ class AdvancedArticleSearchForm(forms.Form):
required=False,
label='Description')

quick_filters = forms.ChoiceField(required=False, choices=FILTER_BUTTONS, widget=QuickFiltersSelect)
quick_filters = forms.ChoiceField(
required=False,
choices=FILTER_BUTTONS,
widget=QuickFiltersSelect
)

def get_search_filter(self):
value = self.cleaned_data.get('description')
Expand Down

0 comments on commit 4c65e8a

Please sign in to comment.