X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/91f30681b6687ac513f304a8827d1391236c00c3..95070e9f9c91673ba4efc7ef9c7a9c40bc894c0b:/apps/wiki/urls.py 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"),