aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2017-02-27 11:14:26 +0100
committerAlban Gruin2017-02-27 11:14:26 +0100
commita9f2d9a4c736511235140f362ab33eb7da0cda61 (patch)
treeeb03a09435b5cf251bc9ba8b028bf7c881c861a1 /views.py
parentba7d2e5c5a78170fa178cd6f9a07a35ec385b63a (diff)
Nettoyage des imports
Diffstat (limited to 'views.py')
-rw-r--r--views.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/views.py b/views.py
index 651533a..22c08ac 100644
--- a/views.py
+++ b/views.py
@@ -14,10 +14,7 @@
# with celcatsanitizer; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-from django.http import HttpResponse, Http404
-from django.db.models import Count
from django.shortcuts import get_object_or_404, redirect, render
-from django.utils import timezone
from django.core.mail import send_mail
from django.conf import settings
from django.template import Context, loader
@@ -26,8 +23,6 @@ from .forms import SubscribeForm
from .models import Timetable, LastUpdate, Group, Subscription, Course
from .utils import get_current_week, get_week, group_courses
-import datetime
-
def index(request):
timetables = Timetable.objects.all().order_by("name")
groups = Group.objects.filter(tp__isnull=False).order_by("name")