mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-17 03:31:09 +00:00
Clean up the namespace imports
This commit is contained in:
parent
7dd3891821
commit
940b8911b1
1 changed files with 2 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.db.models import fields
|
||||
from django.db.models.fields.files import FileField, ImageField
|
||||
|
||||
from modeltranslation import settings as mt_settings
|
||||
from modeltranslation.utils import (get_language,
|
||||
|
|
@ -20,8 +19,8 @@ SUPPORTED_FIELDS = (
|
|||
fields.PositiveSmallIntegerField,
|
||||
fields.BooleanField,
|
||||
fields.NullBooleanField,
|
||||
FileField,
|
||||
ImageField,
|
||||
fields.files.FileField,
|
||||
fields.files.ImageField,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue