diff --git a/biscuit/apps/chronos/util.py b/biscuit/apps/chronos/util.py index 4fdff2de99f33da620743bfb7153908844209453..98cabb72000da0007d36575b1c7c6809142a6f0f 100644 --- a/biscuit/apps/chronos/util.py +++ b/biscuit/apps/chronos/util.py @@ -1,9 +1,10 @@ from datetime import datetime from typing import Optional +from django.apps.AppConfig import get_model from django.db import models -from .models import LessonPeriod +LessonPeriod = get_model('chronos.LessonPeriod') # noqa def current_week() -> int: