X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/91f30681b6687ac513f304a8827d1391236c00c3..de73425f8a37835f8778fbcfd81c41493781f46a:/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"),