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
32fede3e
Commit
32fede3e
authored
Jan 12, 2015
by
Jason D Yeomans
Browse files
fixed login issue
parent
98c61b5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/urls.py
View file @
32fede3e
...
...
@@ -7,11 +7,11 @@ admin.autodiscover()
urlpatterns
=
patterns
(
''
,
url
(
r
''
,
include
(
'allauth.urls'
)),
# login and logout
url
(
r
'^login/$'
,
'django.contrib.auth.views.login'
,
{
'template_name'
:
'login.html'
},
name
=
'login'
),
url
(
r
'^logout/$'
,
'django.contrib.auth.views.logout'
,
{
'template_name'
:
'index.html'
},
name
=
'logout'
),
#url(r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'index.html'}, name='logout'),
url
(
r
''
,
include
(
'allauth.urls'
)),
url
(
r
'^student/(?P<slug>[\w-]+)/$'
,
DetailStudent
.
as_view
(
...
...
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