From 06172d7bc29185b7d37fbf62ec3cfdcfcafb4856 Mon Sep 17 00:00:00 2001 From: François Freitag Date: Sat, 24 Feb 2018 19:38:23 -0800 Subject: Consolidated ModelChoiceField tests. --- tests/forms_tests/models.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/forms_tests/models.py') diff --git a/tests/forms_tests/models.py b/tests/forms_tests/models.py index fa63d08fd1..327fd7802c 100644 --- a/tests/forms_tests/models.py +++ b/tests/forms_tests/models.py @@ -130,12 +130,5 @@ class FileModel(models.Model): file = models.FileField(storage=temp_storage, upload_to='tests') -class Group(models.Model): - name = models.CharField(max_length=10) - - def __str__(self): - return '%s' % self.name - - class Article(models.Model): content = models.TextField() -- cgit v1.3