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:08:17 +0100
commitd4bec655ae1c1122d7aea4bf8e58cc8a2b7bcc74 (patch)
tree8661dd6314c3b355de65c2c1d043ee214eb125eb
parent606c57a132a1e1e680853c014efc41110ee75a80 (diff)
[1.7.x] Fixed flake8 warning.
Backport of dec7da3c4c from master
-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 2b342db744..489137bd35 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -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