From 670c1599972f26dc6f6c7d26d92d881a5dbd25e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Zapke-Gru=CC=88ndemann?= Date: Fri, 10 Feb 2012 19:02:18 +0100 Subject: add package name to imports --- sublab_project/calendarium/admin.py | 2 +- sublab_project/calendarium/tasks.py | 2 +- sublab_project/calendarium/tests.py | 2 +- sublab_project/calendarium/views.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sublab_project') 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): -- cgit v1.2.1