diff options
Diffstat (limited to 'sublab_project/calendarium')
-rw-r--r-- | sublab_project/calendarium/admin.py | 2 | ||||
-rw-r--r-- | sublab_project/calendarium/tasks.py | 2 | ||||
-rw-r--r-- | sublab_project/calendarium/tests.py | 2 | ||||
-rw-r--r-- | sublab_project/calendarium/views.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sublab_project/calendarium/admin.py b/sublab_project/calendarium/admin.py index 608a66d..60e9d7a 100644 --- a/sublab_project/calendarium/admin.py +++ b/sublab_project/calendarium/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin -from models import Event +from calendarium.models import Event class EventAdmin(admin.ModelAdmin): diff --git a/sublab_project/calendarium/tasks.py b/sublab_project/calendarium/tasks.py index d0ab16d..b6939b1 100644 --- a/sublab_project/calendarium/tasks.py +++ b/sublab_project/calendarium/tasks.py @@ -9,7 +9,7 @@ from django.conf import settings from dateutil.rrule import rrulestr import icalendar -from models import Event +from calendarium.models import Event class CalendariumImport(PeriodicTask): diff --git a/sublab_project/calendarium/tests.py b/sublab_project/calendarium/tests.py index 0ad8c06..9ea5e7b 100644 --- a/sublab_project/calendarium/tests.py +++ b/sublab_project/calendarium/tests.py @@ -5,7 +5,7 @@ from datetime import datetime, timedelta from django.core.exceptions import ValidationError from django.test import TestCase -from models import Event +from calendarium.models import Event class EventTest(TestCase): diff --git a/sublab_project/calendarium/views.py b/sublab_project/calendarium/views.py index 4b11c7b..5646e03 100644 --- a/sublab_project/calendarium/views.py +++ b/sublab_project/calendarium/views.py @@ -1,6 +1,6 @@ from django.shortcuts import render -from models import Event +from calendarium.models import Event def list_events(request): |