mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
remove obsolete import
This commit is contained in:
parent
12a79870b2
commit
c674948cb7
1 changed files with 2 additions and 7 deletions
|
|
@ -1,18 +1,13 @@
|
|||
"""Category models."""
|
||||
from functools import reduce
|
||||
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.core.files.images import get_image_dimensions
|
||||
from django.core.files.storage import get_storage_class
|
||||
from django.db import models
|
||||
from django.urls import reverse
|
||||
from django.utils.encoding import force_str
|
||||
|
||||
try:
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||
except ImportError:
|
||||
from django.contrib.contenttypes.generic import GenericForeignKey
|
||||
|
||||
from django.core.files.storage import get_storage_class
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from .base import CategoryBase
|
||||
|
|
|
|||
Loading…
Reference in a new issue