fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie opisu zmian do interfejsu zarzÄ…dzania pull requestami.
[redakcja.git]
/
apps
/
api
/
handlers
/
text_handler.py
diff --git
a/apps/api/handlers/text_handler.py
b/apps/api/handlers/text_handler.py
index
31f958d
..
c4a4d0b
100644
(file)
--- a/
apps/api/handlers/text_handler.py
+++ b/
apps/api/handlers/text_handler.py
@@
-44,7
+44,7
@@
class DocumentTextHandler(BaseHandler):
user = form.cleaned_data['user'] or request.user.username
format = form.cleaned_data['format']
user = form.cleaned_data['user'] or request.user.username
format = form.cleaned_data['format']
- document = lib.document_for_rev(revision)
+ document = lib.document_for_rev
ision
(revision)
if document.id != docid:
return response.BadRequest().django_response({
if document.id != docid:
return response.BadRequest().django_response({