From dec7da3c4c8fb8c4fe3e34bdbd6f23dcbc42ad4c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 13 Nov 2014 10:07:44 +0100 Subject: [PATCH] Fixed flake8 warning. --- tests/model_forms/tests.py | 1 + 1 file changed, 1 insertion(+) 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