mirror of
https://github.com/Hopiu/django.git
synced 2026-04-02 22:30:25 +00:00
Fixed flake8 warning.
This commit is contained in:
parent
311feae8ba
commit
dec7da3c4c
1 changed files with 1 additions and 0 deletions
|
|
@ -2383,6 +2383,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…
Reference in a new issue