OpenSlides/openslides/core/urls.py

34 lines
856 B
Python
Raw Normal View History

2016-01-03 15:33:51 +01:00
from django.conf.urls import url
from . import views
2016-01-03 15:33:51 +01:00
urlpatterns = [
url(r'^core/url_patterns/$',
views.UrlPatternsView.as_view(),
name='core_url_patterns'),
2015-09-24 21:28:30 +02:00
url(r'^core/servertime/$',
views.ServerTime.as_view(),
name='core_servertime'),
2015-06-18 21:48:20 +02:00
url(r'^core/version/$',
views.VersionView.as_view(),
name='core_version'),
url(r'^core/search_api/$',
views.SearchView.as_view(),
name='core_search'),
url(r'^angular_js/(?P<openslides_app>site|projector)/$',
views.AppsJsView.as_view(),
name='core_apps_js'),
# View for the projectors are handelt by angular.
url(r'^projector.*$', views.ProjectorView.as_view()),
2016-01-03 15:33:51 +01:00
# Main entry point for all angular pages.
# Has to be the last entry in the urls.py
url(r'^.*$', views.IndexView.as_view()),
2016-01-03 15:33:51 +01:00
]