1 from django.conf.urls import patterns, include, url
2 from django.conf import settings
3 from django.contrib import admin
5 urlpatterns = patterns('',
7 # url(r'^$', '{{ project_name }}.views.home', name='home'),
8 # url(r'^{{ project_name }}/', include('foo.urls')),
12 url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
13 url(r'^admin/', include(admin.site.urls)),
16 url(r'^accounts/login/$', 'django_cas_ng.views.login'),
17 url(r'^accounts/logout/$', 'django_cas_ng.views.logout'),
22 urlpatterns += patterns('',
23 url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
24 'document_root': settings.MEDIA_ROOT,