Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-b committed Dec 20, 2023
1 parent 20a6e81 commit 9940593
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions wagtailnews/views/editor.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
from functools import lru_cache

from django.core.exceptions import PermissionDenied
from django.forms import Media
from django.shortcuts import get_object_or_404
from django.urls import reverse
from django.utils.functional import cached_property
from django.utils.translation import gettext_lazy as _
from wagtail.admin import messages
from wagtail.admin.panels import ObjectList, extract_panel_definitions_from_model_class
from wagtail.admin.panels import (
ObjectList, extract_panel_definitions_from_model_class)
from wagtail.admin.ui.side_panels import PreviewSidePanel
from wagtail.admin.views.generic import CreateView, DeleteView, EditView, UnpublishView
from wagtail.admin.views.generic.preview import PreviewOnEdit as GenericPreviewOnEdit
from wagtail.admin.views.generic import (
CreateView, DeleteView, EditView, UnpublishView)
from wagtail.admin.views.generic.preview import \
PreviewOnEdit as GenericPreviewOnEdit
from wagtail.models import Page
from django.forms import Media
from django.urls import reverse
from django.utils.functional import cached_property

from wagtailnews.permissions import format_perm, format_perms

from .. import signals
Expand Down

0 comments on commit 9940593

Please sign in to comment.