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:
committed by
Tim Graham
parent
2ee1e1a174
commit
ea60b7bc74
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user