X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/91f30681b6687ac513f304a8827d1391236c00c3..521599e068275e44ceffd240e34e7c6701bcaf42:/apps/wiki/urls.py?ds=sidebyside diff --git a/apps/wiki/urls.py b/apps/wiki/urls.py index 211bb3a7..b4bd999f 100644 --- a/apps/wiki/urls.py +++ b/apps/wiki/urls.py @@ -1,8 +1,9 @@ # -*- coding: utf-8 -from django.conf.urls.defaults import * +from django.conf.urls import patterns, url -urlpatterns = patterns('wiki.views', +urlpatterns = patterns( + 'wiki.views', url(r'^edit/(?P[^/]+)/(?:(?P[^/]+)/)?$', 'editor', name="wiki_editor"),