fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawienie urli w JS.
[redakcja.git]
/
apps
/
api
/
urls.py
diff --git
a/apps/api/urls.py
b/apps/api/urls.py
index
0ed6459
..
52b0ccc
100644
(file)
--- a/
apps/api/urls.py
+++ b/
apps/api/urls.py
@@
-76,7
+76,7
@@
urlpatterns = patterns('',
url(urlpath(r'documents', DOC, 'revision', format=False),
document_merge, {'emitter_format': 'json'}, name="docmerge_view"),
url(urlpath(r'documents', DOC, 'revision', format=False),
document_merge, {'emitter_format': 'json'}, name="docmerge_view"),
- url(r'd
iffs/(?P<source_revision>latest|[0-9a-fA-F]+)/(?P<target_revision>latest|[0-9a-fA-F]+)/
$',
+ url(r'd
ocuments/(?P<docid>[^/]+)/diff
$',
diff_resource, {'emitter_format': 'raw'}, name="diff_resource"),
diff_resource, {'emitter_format': 'raw'}, name="diff_resource"),