Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed May 7, 2024
1 parent 54b59a7 commit eceaa9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pretalx_pages/migrations/0001_create_page_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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),
),
]
2 changes: 1 addition & 1 deletion pretalx_pages/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pretalx_pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eceaa9a

Please sign in to comment.