Import urls.py needed django functions from django.conf.urls

This commit is contained in:
Oskar Hahn 2013-01-05 01:05:38 +01:00
parent 2f28655a25
commit 3229d86d4d
7 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@
:license: GNU GPL, see LICENSE for more details. :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, from openslides.agenda.views import (Overview, View, SetClosed, ItemUpdate,
ItemCreate, ItemDelete, AgendaPDF) ItemCreate, ItemDelete, AgendaPDF)

View File

@ -10,7 +10,7 @@
:license: GNU GPL, see LICENSE for more details. :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, from openslides.assignment.views import (ViewPoll, AssignmentPDF,
AssignmentPollPDF, AssignmentPollDelete, CreateAgendaItem) AssignmentPollPDF, AssignmentPollDelete, CreateAgendaItem)

View File

@ -11,7 +11,7 @@
""" """
from django.conf import settings 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 django.utils.importlib import import_module
from openslides.config.views import GeneralConfig, VersionConfig from openslides.config.views import GeneralConfig, VersionConfig

View File

@ -10,7 +10,7 @@
:license: GNU GPL, see LICENSE for more details. :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, from openslides.motion.views import (MotionDelete, ViewPoll,
MotionPDF, MotionPollPDF, CreateAgendaItem, SupportView) MotionPDF, MotionPollPDF, CreateAgendaItem, SupportView)

View File

@ -10,7 +10,7 @@
:license: GNU GPL, see LICENSE for more details. :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 ( from openslides.participant.views import (
UserOverview, UserCreateView, UserDetailView, UserUpdateView, UserOverview, UserCreateView, UserDetailView, UserUpdateView,

View File

@ -10,7 +10,7 @@
:license: GNU GPL, see LICENSE for more details. :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, from openslides.projector.views import (DashboardView, ActivateView,
CustomSlideCreateView, CustomSlideUpdateView, CustomSlideDeleteView, CustomSlideCreateView, CustomSlideUpdateView, CustomSlideDeleteView,

View File

@ -11,7 +11,7 @@
""" """
from django.conf import settings 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 django.utils.importlib import import_module
from openslides.utils.views import RedirectView from openslides.utils.views import RedirectView