Fixed flake8 warning.
This commit is contained in:
parent
311feae8ba
commit
dec7da3c4c
@ -2383,6 +2383,7 @@ class CustomFieldWithQuerysetButNoLimitChoicesTo(forms.Field):
|
|||||||
|
|
||||||
class StumpJokeWithCustomFieldForm(forms.ModelForm):
|
class StumpJokeWithCustomFieldForm(forms.ModelForm):
|
||||||
custom = CustomFieldWithQuerysetButNoLimitChoicesTo()
|
custom = CustomFieldWithQuerysetButNoLimitChoicesTo()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = StumpJoke
|
model = StumpJoke
|
||||||
fields = () # We don't need any fields from the model
|
fields = () # We don't need any fields from the model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user