From ea60b7bc7464808e34e3cb0aac04455fdd8545eb Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Sat, 23 Mar 2019 17:04:39 +0100 Subject: Removed redundant model field choices tests. --- tests/model_fields/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/model_fields/models.py') 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) -- cgit v1.3