Skip to content
Snippets Groups Projects
Unverified Commit 944dbefa authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Use correct API.

parent 4176c34f
No related branches found
No related tags found
No related merge requests found
from datetime import datetime
from typing import Optional
from django.apps.AppConfig import get_model
from django.apps import apps
from django.db import models
LessonPeriod = get_model('chronos.LessonPeriod') # noqa
LessonPeriod = apps.get_model('chronos.LessonPeriod') # noqa
def current_week() -> int:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment