aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2017-02-11 11:28:36 +0100
committerAlban Gruin2017-02-11 11:28:36 +0100
commite2f3ddadef63c1bda330797740836e00c10fe448 (patch)
tree2f5dcb5a87c70fff5ee15588fe5d1d7077a57198
parent04b0d6f081627df7809f1fbd2890d7e93aef12bb (diff)
Nettoyage des imports
-rw-r--r--admin.py2
-rw-r--r--views.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/admin.py b/admin.py
index 76b7f2d..f818865 100644
--- a/admin.py
+++ b/admin.py
@@ -15,7 +15,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from django.contrib import admin
-from edt.models import Timetable, LastUpdate, Group, Subscription, Room, Course
+from .models import Timetable, LastUpdate, Group, Subscription, Room, Course
@admin.register(Timetable)
diff --git a/views.py b/views.py
index 273720a..08a450f 100644
--- a/views.py
+++ b/views.py
@@ -22,9 +22,9 @@ from django.core.mail import send_mail
from django.conf import settings
from django.template import Context, loader
-from edt.forms import SubscribeForm
-from edt.models import Timetable, LastUpdate, Group, Subscription, Course
-from edt.utils import get_current_week, get_week, group_courses
+from .forms import SubscribeForm
+from .models import Timetable, LastUpdate, Group, Subscription, Course
+from .utils import get_current_week, get_week, group_courses
import datetime