1 from django.conf.urls import patterns, include, url
3 from django.contrib import admin
6 urlpatterns = patterns('',
7 url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
8 url(r'^admin/', include(admin.site.urls)),
11 if 'django_cas' in settings.INSTALLED_APPS:
12 urlpatterns += patterns('',
13 (r'^accounts/login/$', 'django_cas.views.login'),
14 (r'^accounts/logout/$', 'django_cas.views.logout'),
17 urlpatterns += patterns('',
19 # url(r'^$', '{{ project_name }}.views.home', name='home'),
20 # url(r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')),