diff options
author | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-02-10 19:02:18 +0100 |
---|---|---|
committer | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-02-10 19:02:18 +0100 |
commit | 670c1599972f26dc6f6c7d26d92d881a5dbd25e1 (patch) | |
tree | 397f9025298de2ecfcc5caa13463bffc5abffedc | |
parent | 5a6c69b7284e0c138dc71489c0d6964dba09aa7e (diff) |
add package name to imports
-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): |