Skip to content

Commit

Permalink
remove obsolete import
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Jan 23, 2024
1 parent 12a7987 commit c674948
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions categories/models.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c674948

Please sign in to comment.