41 lines
1.1 KiB
Python
41 lines
1.1 KiB
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
url(r'^core/url_patterns/$',
|
|
views.UrlPatternsView.as_view(),
|
|
name='core_url_patterns'),
|
|
|
|
url(r'^core/servertime/$',
|
|
views.ServerTime.as_view(),
|
|
name='core_servertime'),
|
|
|
|
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'^core/encode_media/$',
|
|
views.MediaEncoder.as_view(),
|
|
name="core_mediaencoding"),
|
|
|
|
url(r'^webclient/(?P<realm>site|projector)/$',
|
|
views.WebclientJavaScriptView.as_view(),
|
|
name='core_webclient_javascript'),
|
|
|
|
# View for the projectors are handled by angular.
|
|
url(r'^projector.*$', views.ProjectorView.as_view()),
|
|
|
|
# Original view without resolutioncontrol for the projectors are handled by angular.
|
|
url(r'^real-projector.*$', views.RealProjectorView.as_view()),
|
|
|
|
# Main entry point for all angular pages.
|
|
# Has to be the last entry in the urls.py
|
|
url(r'^.*$', views.IndexView.as_view()),
|
|
|
|
]
|