Kaydet (Commit) dec7da3c authored tarafından Tim Graham's avatar Tim Graham

Fixed flake8 warning.

üst 311feae8
...@@ -2383,6 +2383,7 @@ class CustomFieldWithQuerysetButNoLimitChoicesTo(forms.Field): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment