X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/793b39c86e9583467f1cbc41f8b1a4677d079f23..9c42ef76e42e997b52c8b02eae058e345d103d80:/apps/wiki/urls.py diff --git a/apps/wiki/urls.py b/apps/wiki/urls.py index 7ed47a01..ac731eff 100644 --- a/apps/wiki/urls.py +++ b/apps/wiki/urls.py @@ -49,8 +49,11 @@ urlpatterns = patterns('wiki.views', url(r'^diff/(?P[^/]+)/(?:(?P[^/]+)/)?$', 'diff', name="wiki_diff"), #url(r'^(?P[^/]+)/tags$', 'add_tag', name="wiki_add_tag"), - url(r'^full/(?P[^/]+)/$', 'compiled', name="wiki_compiled"), + url(r'^book/(?P[^/]+)/$', 'book', name="wiki_book"), + url(r'^book/(?P[^/]+)/xml$', 'book_xml', name="wiki_book_xml"), + url(r'^book/(?P[^/]+)/txt$', 'book_txt', name="wiki_book_txt"), + url(r'^book/(?P[^/]+)/html$', 'book_html', name="wiki_book_html"), + #url(r'^book/(?P[^/]+)/epub$', 'book_epub', name="wiki_book_epub"), + #url(r'^book/(?P[^/]+)/pdf$', 'book_pdf', name="wiki_book_pdf"), - url(r'^book/(?P[^/]+)/$', object_detail, - {"queryset": Book.objects.all()}, name="wiki_book"), )