Commit ed7f6966 authored by Daniel W Bond's avatar Daniel W Bond

cas login urls

parent 34649f08
......@@ -2,6 +2,7 @@ from django.conf.urls import patterns, include, url
from django.views.generic import TemplateView
from django.contrib import admin
admin.autodiscover()
handle404 = TemplateView.as_view(template_name="404.html")
......@@ -18,6 +19,10 @@ urlpatterns = patterns('',
url(r'^housing/', include('housing.urls')),
url(r'^accounts/', include('accounts.urls')),
# login and logout
url(r'^login/$', 'cas.views.login', name='login'),
url(r'login/$', 'cas.views.logout', name='logout'),
# alternate interfaces
url(r'^api/', include('api.urls')),
url(r'^admin/', include(admin.site.urls)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment