fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug that caused inifinite recursion while searching for non-existant document.
[redakcja.git]
/
apps
/
wiki
/
urls.py
diff --git
a/apps/wiki/urls.py
b/apps/wiki/urls.py
index
c5c08a1
..
bfc799f
100644
(file)
--- a/
apps/wiki/urls.py
+++ b/
apps/wiki/urls.py
@@
-1,11
+1,12
@@
from django.conf.urls.defaults import *
from django.conf.urls.defaults import *
-from django.conf import settings
urlpatterns = patterns('wiki.views',
url(r'^$',
'document_list', name='wiki_doclist'),
urlpatterns = patterns('wiki.views',
url(r'^$',
'document_list', name='wiki_doclist'),
+
url(r'^create/(?P<name>[^/]+)',
'document_create_missing', name='wiki_create_missing'),
url(r'^create/(?P<name>[^/]+)',
'document_create_missing', name='wiki_create_missing'),
+
url(r'^gallery/(?P<directory>[^/]+)$',
'document_gallery', name="wiki_gallery"),
url(r'^(?P<name>[^/]+)/history$',
url(r'^gallery/(?P<directory>[^/]+)$',
'document_gallery', name="wiki_gallery"),
url(r'^(?P<name>[^/]+)/history$',