Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Change import location to avoid import errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Turner committed Dec 5, 2016
1 parent 8192212 commit 0294ba4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions icekit/publishing/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
from fluent_pages.adminui.pageadmin import _select_template_name
from fluent_pages.adminui.urlnodeparentadmin import UrlNodeParentAdmin

from icekit.admin_mixins import FluentLayoutsMixin

from .models import PublishingModel


Expand Down Expand Up @@ -723,6 +721,9 @@ class ICEKitFluentPagesParentAdminMixin(
list_filter = (PublishingStatusFilter, PublishingPublishedFilter)


# this import must go here to avoid import errors
from icekit.admin_mixins import FluentLayoutsMixin

class PublishableFluentContentsAdmin(PublishingAdmin, FluentLayoutsMixin):
"""
Add publishing admin features for models with Fluent Contents features
Expand Down

0 comments on commit 0294ba4

Please sign in to comment.