summaryrefslogtreecommitdiff
path: root/tests/generic_relations
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic_relations')
-rw-r--r--tests/generic_relations/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py
index 27b25185ea..dd9dc506ca 100644
--- a/tests/generic_relations/tests.py
+++ b/tests/generic_relations/tests.py
@@ -247,6 +247,7 @@ class CustomWidget(forms.TextInput):
class TaggedItemForm(forms.ModelForm):
class Meta:
model = TaggedItem
+ fields = '__all__'
widgets = {'tag': CustomWidget}
class GenericInlineFormsetTest(TestCase):