diff --git a/pretalx_pages/migrations/0001_create_page_model.py b/pretalx_pages/migrations/0001_create_page_model.py index 75a969e..daad36c 100644 --- a/pretalx_pages/migrations/0001_create_page_model.py +++ b/pretalx_pages/migrations/0001_create_page_model.py @@ -5,7 +5,7 @@ import i18nfield.fields from django.db import migrations, models -import pretalx.common.mixins.models +import pretalx.common.models.mixins class Migration(migrations.Migration): @@ -54,6 +54,6 @@ class Migration(migrations.Migration): options={ "ordering": ["position", "title"], }, - bases=(pretalx.common.mixins.models.LogMixin, models.Model), + bases=(pretalx.common.models.mixins.LogMixin, models.Model), ), ] diff --git a/pretalx_pages/models.py b/pretalx_pages/models.py index 3bfb7e2..bffcd27 100644 --- a/pretalx_pages/models.py +++ b/pretalx_pages/models.py @@ -2,7 +2,7 @@ from django.db import models from django.utils.translation import gettext_lazy as _ from i18nfield.fields import I18nCharField, I18nTextField -from pretalx.common.mixins.models import LogMixin +from pretalx.common.models.mixins import LogMixin from pretalx.common.text.phrases import phrases from pretalx.event.models import Event diff --git a/pretalx_pages/views.py b/pretalx_pages/views.py index 415ad0d..53a2137 100644 --- a/pretalx_pages/views.py +++ b/pretalx_pages/views.py @@ -17,7 +17,7 @@ UpdateView, ) from i18nfield.forms import I18nModelForm -from pretalx.common.mixins.views import EventPermissionRequired +from pretalx.common.views.mixins import EventPermissionRequired from pretalx.common.templatetags.rich_text import ( ALLOWED_ATTRIBUTES, ALLOWED_PROTOCOLS,