summaryrefslogtreecommitdiff
path: root/tests/forms_tests/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/forms_tests/models.py')
-rw-r--r--tests/forms_tests/models.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/forms_tests/models.py b/tests/forms_tests/models.py
index ae212f332d..d6d0725b32 100644
--- a/tests/forms_tests/models.py
+++ b/tests/forms_tests/models.py
@@ -56,8 +56,11 @@ class ChoiceModel(models.Model):
class ChoiceOptionModel(models.Model):
- """Destination for ChoiceFieldModel's ForeignKey.
- Can't reuse ChoiceModel because error_message tests require that it have no instances."""
+ """
+ Destination for ChoiceFieldModel's ForeignKey.
+ Can't reuse ChoiceModel because error_message tests require that it have no
+ instances.
+ """
name = models.CharField(max_length=10)