2013-03-01 17:13:12 +01:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
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(
|
|
|
|
'',
|
2015-02-14 10:10:08 +01:00
|
|
|
url(r'^core/url_patterns/$',
|
|
|
|
views.UrlPatternsView.as_view(),
|
|
|
|
name='core_url_patterns'),
|
2015-06-18 21:48:20 +02:00
|
|
|
url(r'^core/version/$',
|
|
|
|
views.VersionView.as_view(),
|
|
|
|
name='core_version'),
|
2015-06-17 09:45:00 +02:00
|
|
|
|
|
|
|
# View for the projectors are handelt by angular.
|
|
|
|
url(r'^projector.*$', views.ProjectorView.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()),
|
2014-01-28 08:32:26 +01:00
|
|
|
)
|