1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed redundant model field choices tests.

This commit is contained in:
Matthias Kestenholz
2019-03-23 17:04:39 +01:00
committed by Tim Graham
parent 2ee1e1a174
commit ea60b7bc74
5 changed files with 8 additions and 50 deletions

View File

@@ -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)