Removed the global evil.
[redakcja.git] / apps / wiki / urls.py
1 from django.conf.urls.defaults import *
2
3 urlpatterns = patterns('wiki.views',
4     url(r'^$', 
5         'document_list', name='wiki_doclist'),
6     url(r'^gallery/(?P<directory>[^/]+)$', 
7         'document_gallery', name="wiki_gallery"),
8     url(r'^(?P<name>[^/]+)/history$', 
9         'document_history', name="wiki_history"),
10     url(r'^(?P<name>[^/]+)/publish/(?P<version>\d+)$', 
11         'document_publish', name="wiki_publish"),
12     url(r'^(?P<name>[^/]+)/diff/(?P<revA>\d+)/(?P<revB>\d+)$', 
13         'document_diff', name="wiki_diff"),    
14     url(r'^(?P<name>[^/]+)$', 
15         'document_detail', name="wiki_details"),        
16     
17 )   
18