summaryrefslogtreecommitdiff
path: root/tests/model_fields/models.py
diff options
context:
space:
mode:
authorMatthias Kestenholz <mk@feinheit.ch>2019-03-23 17:04:39 +0100
committerTim Graham <timograham@gmail.com>2019-03-23 12:04:39 -0400
commitea60b7bc7464808e34e3cb0aac04455fdd8545eb (patch)
tree41bb2baed64e856d167d8fe7ce9ca38376e76b9b /tests/model_fields/models.py
parent2ee1e1a1744c4d0679058124eb7ceba78a0a5a84 (diff)
Removed redundant model field choices tests.
Diffstat (limited to 'tests/model_fields/models.py')
-rw-r--r--tests/model_fields/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py
index 93e424a2aa..cbf3ec26ea 100644
--- a/tests/model_fields/models.py
+++ b/tests/model_fields/models.py
@@ -12,6 +12,7 @@ from django.db.models.fields.files import ImageField, ImageFieldFile
from django.db.models.fields.related import (
ForeignKey, ForeignObject, ManyToManyField, OneToOneField,
)
+from django.utils.translation import gettext_lazy as _
try:
from PIL import Image
@@ -46,6 +47,7 @@ class Whiz(models.Model):
)
),
(0, 'Other'),
+ (5, _('translated')),
)
c = models.IntegerField(choices=CHOICES, null=True)