From a4fbe45dcdc89dbcfe50afd5058b0ecf09ed7642 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 24 Sep 2017 17:37:21 +0200 Subject: Suppression des import inutilisés --- feeds.py | 2 +- management/commands/timetables.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/feeds.py b/feeds.py index d7f3ae3..7e8cd80 100644 --- a/feeds.py +++ b/feeds.py @@ -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 -- cgit v1.2.1