From 3229d86d4d00159677f684a5db862d3e1e11ec46 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sat, 5 Jan 2013 01:05:38 +0100 Subject: [PATCH] Import urls.py needed django functions from django.conf.urls --- openslides/agenda/urls.py | 2 +- openslides/assignment/urls.py | 2 +- openslides/config/urls.py | 2 +- openslides/motion/urls.py | 2 +- openslides/participant/urls.py | 2 +- openslides/projector/urls.py | 2 +- openslides/urls.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openslides/agenda/urls.py b/openslides/agenda/urls.py index 6022bff4d..392adbedf 100644 --- a/openslides/agenda/urls.py +++ b/openslides/agenda/urls.py @@ -10,7 +10,7 @@ :license: GNU GPL, see LICENSE for more details. """ -from django.conf.urls.defaults import url, patterns +from django.conf.urls import url, patterns from openslides.agenda.views import (Overview, View, SetClosed, ItemUpdate, ItemCreate, ItemDelete, AgendaPDF) diff --git a/openslides/assignment/urls.py b/openslides/assignment/urls.py index 5540b8a06..42e55b638 100644 --- a/openslides/assignment/urls.py +++ b/openslides/assignment/urls.py @@ -10,7 +10,7 @@ :license: GNU GPL, see LICENSE for more details. """ -from django.conf.urls.defaults import url, patterns +from django.conf.urls import url, patterns from openslides.assignment.views import (ViewPoll, AssignmentPDF, AssignmentPollPDF, AssignmentPollDelete, CreateAgendaItem) diff --git a/openslides/config/urls.py b/openslides/config/urls.py index 14659f5a8..84c1e93e9 100644 --- a/openslides/config/urls.py +++ b/openslides/config/urls.py @@ -11,7 +11,7 @@ """ from django.conf import settings -from django.conf.urls.defaults import patterns, url +from django.conf.urls import patterns, url from django.utils.importlib import import_module from openslides.config.views import GeneralConfig, VersionConfig diff --git a/openslides/motion/urls.py b/openslides/motion/urls.py index 177a5b04f..aff36a491 100644 --- a/openslides/motion/urls.py +++ b/openslides/motion/urls.py @@ -10,7 +10,7 @@ :license: GNU GPL, see LICENSE for more details. """ -from django.conf.urls.defaults import url, patterns +from django.conf.urls import url, patterns from openslides.motion.views import (MotionDelete, ViewPoll, MotionPDF, MotionPollPDF, CreateAgendaItem, SupportView) diff --git a/openslides/participant/urls.py b/openslides/participant/urls.py index 569f8b85f..8fa6b9ca9 100644 --- a/openslides/participant/urls.py +++ b/openslides/participant/urls.py @@ -10,7 +10,7 @@ :license: GNU GPL, see LICENSE for more details. """ -from django.conf.urls.defaults import url, patterns +from django.conf.urls import url, patterns from openslides.participant.views import ( UserOverview, UserCreateView, UserDetailView, UserUpdateView, diff --git a/openslides/projector/urls.py b/openslides/projector/urls.py index 9c1433ec4..e5a8d49c6 100644 --- a/openslides/projector/urls.py +++ b/openslides/projector/urls.py @@ -10,7 +10,7 @@ :license: GNU GPL, see LICENSE for more details. """ -from django.conf.urls.defaults import patterns, url +from django.conf.urls import patterns, url from openslides.projector.views import (DashboardView, ActivateView, CustomSlideCreateView, CustomSlideUpdateView, CustomSlideDeleteView, diff --git a/openslides/urls.py b/openslides/urls.py index 5edb948d0..800ef85e6 100644 --- a/openslides/urls.py +++ b/openslides/urls.py @@ -11,7 +11,7 @@ """ from django.conf import settings -from django.conf.urls.defaults import patterns, url, include +from django.conf.urls import patterns, url, include from django.utils.importlib import import_module from openslides.utils.views import RedirectView