summaryrefslogtreecommitdiff
path: root/tests/forms_tests/models.py
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2018-02-24 19:38:23 -0800
committerTim Graham <timograham@gmail.com>2018-03-01 14:05:35 -0500
commit06172d7bc29185b7d37fbf62ec3cfdcfcafb4856 (patch)
treeb0d4b8790a52a2fdd4d1e32d01b056d96a816c7b /tests/forms_tests/models.py
parent94a180402c9e52bca2e911b6427c88f436e95449 (diff)
Consolidated ModelChoiceField tests.
Diffstat (limited to 'tests/forms_tests/models.py')
-rw-r--r--tests/forms_tests/models.py7
1 files changed, 0 insertions, 7 deletions
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()