summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-11-13 10:07:44 +0100
committerTim Graham <timograham@gmail.com>2014-11-13 10:07:44 +0100
commitdec7da3c4c8fb8c4fe3e34bdbd6f23dcbc42ad4c (patch)
treec335e84c719a2497dc6b80e6c4c85e1ca7e7d419
parent311feae8ba2a7b47e998764a1b0a26b5132e56f0 (diff)
Fixed flake8 warning.
-rw-r--r--tests/model_forms/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 86a027e4d4..962e5b969f 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -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