diff options
-rw-r--r-- | feeds.py | 2 | ||||
-rw-r--r-- | management/commands/timetables.py | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -16,7 +16,7 @@ from django.core.exceptions import ObjectDoesNotExist from django.conf import settings from django.contrib.syndication.views import Feed -from django.db.models import Count, Max, Q +from django.db.models import Count, Max from django.db.models.functions import ExtractWeek, ExtractYear from django.template import loader from django.urls import reverse diff --git a/management/commands/timetables.py b/management/commands/timetables.py index 0716a91..efdd611 100644 --- a/management/commands/timetables.py +++ b/management/commands/timetables.py @@ -19,7 +19,6 @@ from django.db.models import Max from django.utils import timezone from edt.models import Timetable, Course -from edt.utils import get_week from ._private import delete_courses_in_week, get_events, get_update_date, get_weeks, get_xml import datetime |