X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7467ef6a69270fb9e502d7d630b50bb17615dc35..afdb8fd05511c5280e8ee251389cb893786eb810:/platforma/urls.py?ds=sidebyside diff --git a/platforma/urls.py b/platforma/urls.py old mode 100755 new mode 100644 index 161b552a..9b4b1a28 --- a/platforma/urls.py +++ b/platforma/urls.py @@ -9,10 +9,12 @@ admin.autodiscover() urlpatterns = patterns('', url(r'^$', 'wiki.views.document_list'), url(r'^gallery/(?P[^/]+)$', 'wiki.views.document_gallery'), + url(r'^(?P[^/]+)/history$', 'wiki.views.document_history'), + url(r'^(?P[^/]+)/diff/(?P\d+)/(?P\d+)$', 'wiki.views.document_diff'), # 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')),