summaryrefslogtreecommitdiff
path: root/tests/foreign_object
diff options
context:
space:
mode:
Diffstat (limited to 'tests/foreign_object')
-rw-r--r--tests/foreign_object/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/foreign_object/tests.py b/tests/foreign_object/tests.py
index 2ca13cb786..55dd6a0f47 100644
--- a/tests/foreign_object/tests.py
+++ b/tests/foreign_object/tests.py
@@ -322,6 +322,7 @@ class FormsTests(TestCase):
class ArticleForm(forms.ModelForm):
class Meta:
model = Article
+ fields = '__all__'
def test_foreign_object_form(self):
# A very crude test checking that the non-concrete fields do not get form fields.