X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/06c0fd3da81bed89e12e7a30cfc6ff33ddecd075..1d07e208b0897af64f71755c974762bc7cd19ca0:/apps/api/urls.py?ds=inline diff --git a/apps/api/urls.py b/apps/api/urls.py index 0ae14203..deac319a 100644 --- a/apps/api/urls.py +++ b/apps/api/urls.py @@ -16,6 +16,9 @@ urlpatterns = patterns('', # url(r'^hello$', hello_resource, {'emitter_format': 'json'}), # url(r'^hello\.(?P.+)$', hello_resource), + # HTML Renderer service + url(r'^render$', 'api.views.render'), + # Toolbar url(r'^toolbar/buttons$', toolbar_buttons, {'emitter_format': 'json'}, name="toolbar_buttons" @@ -52,12 +55,12 @@ urlpatterns = patterns('', # XML url(urlpath(r'documents', DOC, 'text', format=False), - document_text_resource, {'emitter_format': 'rawxml'}, + document_text_resource, {'emitter_format': 'raw'}, name="doctext_view"), # HTML url(urlpath(r'documents', DOC, 'html', format=False), - document_html_resource, {'emitter_format': 'rawhtml'}, + document_html_resource, {'emitter_format': 'raw'}, name="dochtml_view"), # DC