[1.7.x] Fixed flake8 warning.
Backport of dec7da3c4c from master
This commit is contained in:
parent
606c57a132
commit
d4bec655ae
@ -2351,6 +2351,7 @@ class CustomFieldWithQuerysetButNoLimitChoicesTo(forms.Field):
|
||||
|
||||
class StumpJokeWithCustomFieldForm(forms.ModelForm):
|
||||
custom = CustomFieldWithQuerysetButNoLimitChoicesTo()
|
||||
|
||||
class Meta:
|
||||
model = StumpJoke
|
||||
fields = () # We don't need any fields from the model
|
||||
|
Loading…
x
Reference in New Issue
Block a user