urls.py 863 Bytes
Newer Older
1
from django.conf.urls import patterns, include, url
Kálmán Viktor committed
2
# from django.views.generic import TemplateView
3 4

from django.contrib import admin
5

6 7
from circle.settings.base import get_env_variable

8 9
admin.autodiscover()

Kálmán Viktor committed
10 11
urlpatterns = patterns(
    '',
12 13 14 15 16 17 18 19 20
    #url(r'^$', TemplateView.as_view(template_name='base.html')),

    # Examples:
    # url(r'^$', 'circle.views.home', name='home'),
    # url(r'^circle/', include('circle.foo.urls')),

    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    url(r'^admin/', include(admin.site.urls)),
21
    url(r'^network/', include('network.urls')),
22
    url(r'^dashboard/', include('dashboard.urls')),
23
    url(r'^accounts/', include('django.contrib.auth.urls')),
24
)
25 26 27 28 29 30 31


if get_env_variable('DJANGO_SAML', 'FALSE') == 'TRUE':
    urlpatterns += patterns(
        '',
        (r'^saml2/', include('djangosaml2.urls')),
    )