Commit 34649f08 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

moved login urls to base app

parent 101511a6
...@@ -7,11 +7,7 @@ admin.autodiscover() ...@@ -7,11 +7,7 @@ admin.autodiscover()
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'', include('allauth.urls')), #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'^student/(?P<slug>[\w-]+)/$', url(r'^student/(?P<slug>[\w-]+)/$',
DetailStudent.as_view( DetailStudent.as_view(
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