mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
fix order in super
This commit is contained in:
parent
a5292b2ce9
commit
3b962864b2
|
@ -27,7 +27,7 @@ from rest_framework.settings import api_settings
|
||||||
|
|
||||||
class SearchFilterForm(forms.Form):
|
class SearchFilterForm(forms.Form):
|
||||||
def __init__(self, search_field, *args, **kwargs):
|
def __init__(self, search_field, *args, **kwargs):
|
||||||
super(self, SearchFilterForm).__init__(*args, **kwargs)
|
super(SearchFilterForm, self).__init__(*args, **kwargs)
|
||||||
self.fields[search_field] = forms.CharField()
|
self.fields[search_field] = forms.CharField()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user