Skip to content

Commit

Permalink
fix: sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoh committed Jul 26, 2023
1 parent 0357c36 commit f4f7811
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions djangocms_picture/cms_plugins.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
from django.conf import settings
from django.utils.translation import gettext_lazy as _

from cms.plugin_base import CMSPluginBase
from cms.plugin_pool import plugin_pool
from django.conf import settings
from django.utils.translation import gettext_lazy as _

from .forms import PictureForm
from .models import Picture


# enable nesting of plugins inside the picture plugin
PICTURE_NESTING = getattr(settings, 'DJANGOCMS_PICTURE_NESTING', False)

Expand Down
6 changes: 2 additions & 4 deletions djangocms_picture/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
Enables the user to add an "Image" plugin that displays an image
using the HTML <img> tag.
"""
from cms.models import CMSPlugin
from cms.models.fields import PageField
from django.conf import settings
from django.core.exceptions import ValidationError
from django.db import models
from django.utils.translation import gettext
from django.utils.translation import gettext_lazy as _

from cms.models import CMSPlugin
from cms.models.fields import PageField

from djangocms_attributes_field.fields import AttributesField
from easy_thumbnails.files import get_thumbnailer
from filer.fields.image import FilerImageField
Expand Down

0 comments on commit f4f7811

Please sign in to comment.