2013-11-29 16:47:31 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2013-09-25 12:53:44 +02:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from openslides.urls import urlpatterns
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns += patterns(
|
|
|
|
'',
|
|
|
|
url(r'^url_mixin/$',
|
|
|
|
views.UrlMixinView.as_view(),
|
|
|
|
name='test_url_mixin'),
|
|
|
|
|
|
|
|
url(r'^url_mixin_args/(?P<arg>\d+)/$',
|
|
|
|
views.UrlMixinView.as_view(),
|
|
|
|
name='test_url_mixin_args'),
|
|
|
|
|
|
|
|
url(r'^login_mixin/$',
|
|
|
|
views.LoginMixinView.as_view()),
|
|
|
|
|
|
|
|
url(r'^permission_mixin1/$',
|
|
|
|
views.PermissionMixinView.as_view()),
|
|
|
|
|
|
|
|
url(r'^permission_mixin2/$',
|
2014-05-15 20:07:09 +02:00
|
|
|
views.PermissionMixinView.as_view(required_permission='permission_string')),
|
2013-09-25 12:53:44 +02:00
|
|
|
|
|
|
|
url(r'^permission_mixin3/$',
|
2014-05-15 20:07:09 +02:00
|
|
|
views.PermissionMixinView.as_view(required_permission='agenda.can_see_agenda')),
|
2014-12-22 18:09:05 +01:00
|
|
|
|
|
|
|
url(r'^dummy_detail_view/(?P<pk>\d+)/$',
|
|
|
|
views.DummyDetailView.as_view()),
|
2013-09-25 12:53:44 +02:00
|
|
|
)
|