From 5b508bf61bbe71914611c108093adbaabbb9e07e Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 2 Nov 2024 19:14:29 +0100 Subject: [PATCH] fix: mixins import path --- ...ror_musicratesettings_last_submission_rating_and_more.py | 6 +++--- pretalx_musicrate/views.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pretalx_musicrate/migrations/0005_juror_musicratesettings_last_submission_rating_and_more.py b/pretalx_musicrate/migrations/0005_juror_musicratesettings_last_submission_rating_and_more.py index 1b574c6..5c54419 100644 --- a/pretalx_musicrate/migrations/0005_juror_musicratesettings_last_submission_rating_and_more.py +++ b/pretalx_musicrate/migrations/0005_juror_musicratesettings_last_submission_rating_and_more.py @@ -1,7 +1,7 @@ # Generated by Django 4.2.8 on 2023-12-15 18:27 import django.db.models.deletion -import pretalx.common.mixins.models +import pretalx.common.models.mixins from django.db import migrations, models import pretalx_musicrate.models @@ -51,8 +51,8 @@ class Migration(migrations.Migration): "abstract": False, }, bases=( - pretalx.common.mixins.models.LogMixin, - pretalx.common.mixins.models.FileCleanupMixin, + pretalx.common.models.mixins.LogMixin, + pretalx.common.models.mixins.FileCleanupMixin, models.Model, ), ), diff --git a/pretalx_musicrate/views.py b/pretalx_musicrate/views.py index 32dc6a8..c89445d 100644 --- a/pretalx_musicrate/views.py +++ b/pretalx_musicrate/views.py @@ -14,7 +14,7 @@ from django.utils.translation import gettext_lazy as _, ngettext from django.views.generic import FormView, TemplateView, View from django.views.generic.detail import SingleObjectMixin from django_context_decorator import context -from pretalx.common.mixins.views import EventPermissionRequired +from pretalx.common.views.mixins import EventPermissionRequired from pretalx.orga.views.submission import BaseSubmissionList, SubmissionList from pretalx.submission.models import Submission