readable error message for no image dir
[redakcja.git] / apps / wiki / urls.py
index 351ecbc..a84330a 100644 (file)
@@ -20,6 +20,9 @@ urlpatterns = patterns('wiki.views',
     url(r'^(?P<name>[^/]+)/readonly$',
         'editor_readonly', name="wiki_editor_readonly"),
 
+    url(r'^upload/$',
+        'upload', name='wiki_upload'),
+
     url(r'^create/(?P<name>[^/]+)',
         'create_missing', name='wiki_create_missing'),
 
@@ -29,6 +32,9 @@ urlpatterns = patterns('wiki.views',
     url(r'^(?P<name>[^/]+)/history$',
         'history', name="wiki_history"),
 
+    url(r'^(?P<name>[^/]+)/rev$',
+        'revision', name="wiki_revision"),
+
     url(r'^(?P<name>[^/]+)/text$',
         'text', name="wiki_text"),