X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c6fc086238de9fefb56169edc148bbcd3ff866fa..10fe016074c5af0f8e0464eb3191e868f108a65e:/apps/api/urls.py?ds=inline 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'},