X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/39d26aa0f2cb893f19282657b2fddd2a494f2263..dd0510d0730e259a57e01b63b8b34a24b7cfdd4a:/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'},