aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-09-24 17:37:21 +0200
committerAlban Gruin2017-09-24 17:37:21 +0200
commita4fbe45dcdc89dbcfe50afd5058b0ecf09ed7642 (patch)
tree5830062e69f496fcf70de5b2940348b697c52f35
parentdc5618c3b3af18a5f6e1d50844097c745317125a (diff)
Suppression des import inutilisés
-rw-r--r--feeds.py2
-rw-r--r--management/commands/timetables.py1
2 files changed, 1 insertions, 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