X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c6fc086238de9fefb56169edc148bbcd3ff866fa..7a12b550f4a8366c8ace2f9c55706aba7c4b17f7:/apps/api/urls.py diff --git a/apps/api/urls.py b/apps/api/urls.py index db6ff1ef..0ed64591 100644 --- a/apps/api/urls.py +++ b/apps/api/urls.py @@ -74,7 +74,11 @@ urlpatterns = patterns('', # MERGE url(urlpath(r'documents', DOC, 'revision', format=False), - document_merge, {'emitter_format': 'json'}, name="docmerge_view") + document_merge, {'emitter_format': 'json'}, name="docmerge_view"), + + url(r'diffs/(?Platest|[0-9a-fA-F]+)/(?Platest|[0-9a-fA-F]+)/$', + diff_resource, {'emitter_format': 'raw'}, name="diff_resource"), + # url(r'^documents/(?P[^/]+)/parts$', # document_resource, {'emitter_format': 'json'},