summaryrefslogtreecommitdiffstats
path: root/pyc/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyc/urls.py')
-rw-r--r--pyc/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyc/urls.py b/pyc/urls.py
index b65970e..9f30735 100644
--- a/pyc/urls.py
+++ b/pyc/urls.py
@@ -7,6 +7,9 @@ urlpatterns = patterns('',
url(r'^$', 'grader.views.index', name='index'),
url(r'^lab/(?P<lab_id>\d+)/$', 'grader.views.lab'),
+ url(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
+ url(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}),
+
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),