1 # -*- coding: utf-8 -*-
2 from django.conf.urls import include, url
3 from django.views.generic import RedirectView
4 from django.contrib import admin
5 from django.conf import settings
10 url(r'^$', RedirectView.as_view(url='/accounts/', permanent=False)),
13 url(r'^cas/', include('cas_provider.urls')),
16 url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
17 url(r'^admin/', include(admin.site.urls)),
19 url(r'^accounts/', include('accounts.urls')),
24 from django.views.static import serve
26 url(r'^media/(?P<path>.*)$', serve, {
27 'document_root': settings.MEDIA_ROOT,