reverted URLs
authorŁukasz Rekucki <lrekucki@gmail.com>
Fri, 5 Mar 2010 03:04:24 +0000 (04:04 +0100)
committerŁukasz Rekucki <lrekucki@gmail.com>
Fri, 5 Mar 2010 03:04:24 +0000 (04:04 +0100)
platforma/urls.py

index 161b552..bd296a9 100755 (executable)
@@ -11,8 +11,8 @@ urlpatterns = patterns('',
     url(r'^gallery/(?P<directory>[^/]+)$', 'wiki.views.document_gallery'),
 
     # Auth
     url(r'^gallery/(?P<directory>[^/]+)$', 'wiki.views.document_gallery'),
 
     # Auth
-    url(r'^accounts/login/$', 'django_cas.views.login'),
-    url(r'^accounts/logout/$', 'django_cas.views.logout'),
+    url(r'^accounts/login/$', 'django_cas.views.login', name = 'login'),
+    url(r'^accounts/logout/$', 'django_cas.views.logout', name = 'logout'),
 
     # Admin panel
     (r'^admin/filebrowser/', include('filebrowser.urls')),
 
     # Admin panel
     (r'^admin/filebrowser/', include('filebrowser.urls')),