2013-03-01 17:13:12 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from openslides.utils.views import RedirectView
|
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
from . import views
|
2013-03-01 17:13:12 +01:00
|
|
|
|
2013-09-25 10:01:01 +02:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2013-03-01 17:13:12 +01:00
|
|
|
# Redirect to dashboard URL
|
|
|
|
url(r'^$',
|
2013-12-09 23:56:01 +01:00
|
|
|
RedirectView.as_view(url_name='core_dashboard'),
|
2013-03-01 17:13:12 +01:00
|
|
|
name='home',),
|
|
|
|
|
2013-12-09 23:56:01 +01:00
|
|
|
url(r'^dashboard/$',
|
|
|
|
views.DashboardView.as_view(),
|
|
|
|
name='core_dashboard'),
|
|
|
|
|
|
|
|
url(r'^dashboard/select_widgets/$',
|
|
|
|
views.SelectWidgetsView.as_view(),
|
|
|
|
name='core_select_widgets'),
|
|
|
|
|
2013-03-01 17:13:12 +01:00
|
|
|
url(r'^version/$',
|
2013-09-25 10:01:01 +02:00
|
|
|
views.VersionView.as_view(),
|
2013-03-01 17:13:12 +01:00
|
|
|
name='core_version',),
|
2013-09-08 14:44:41 +02:00
|
|
|
|
|
|
|
url(r'^search/$',
|
|
|
|
views.SearchView(),
|
2013-12-09 23:56:01 +01:00
|
|
|
name='core_search',))
|