X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..8c26f548ef22db734120de4a0828aa8d6b9fdaa0:/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'},