command to remove empty tags + cleaning empty tags on save
[redakcja.git] / apps / wiki / urls.py
1 # -*- coding: utf-8
2 from django.conf.urls import patterns, url
3
4
5 urlpatterns = patterns(
6     'wiki.views',
7     url(r'^edit/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
8         'editor', name="wiki_editor"),
9
10     url(r'^readonly/(?P<slug>[^/]+)/(?:(?P<chunk>[^/]+)/)?$',
11         'editor_readonly', name="wiki_editor_readonly"),
12
13     url(r'^gallery/(?P<directory>[^/]+)/$',
14         'gallery', name="wiki_gallery"),
15
16     url(r'^history/(?P<chunk_id>\d+)/$',
17         'history', name="wiki_history"),
18
19     url(r'^rev/(?P<chunk_id>\d+)/$',
20         'revision', name="wiki_revision"),
21
22     url(r'^text/(?P<chunk_id>\d+)/$',
23         'text', name="wiki_text"),
24
25     url(r'^revert/(?P<chunk_id>\d+)/$',
26         'revert', name='wiki_revert'),
27
28     url(r'^diff/(?P<chunk_id>\d+)/$', 'diff', name="wiki_diff"),
29     url(r'^pubmark/(?P<chunk_id>\d+)/$', 'pubmark', name="wiki_pubmark"),
30
31     url(r'^themes$', 'themes', name="themes"),
32 )