Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
ed7f6966
Commit
ed7f6966
authored
Jan 12, 2015
by
Daniel W Bond
Browse files
cas login urls
parent
34649f08
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/settings/urls.py
View file @
ed7f6966
...
...
@@ -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
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment