fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8b3b521
)
Nie wymagamy poprawnego DublinCore przy renderowaniu do HTML.
author
zuber
<marek@stepniowski.com>
Wed, 30 Sep 2009 11:00:42 +0000
(13:00 +0200)
committer
zuber
<marek@stepniowski.com>
Wed, 30 Sep 2009 11:00:42 +0000
(13:00 +0200)
apps/api/handlers/library_handlers.py
patch
|
blob
|
history
diff --git
a/apps/api/handlers/library_handlers.py
b/apps/api/handlers/library_handlers.py
index
4d23478
..
0385c0f
100644
(file)
--- a/
apps/api/handlers/library_handlers.py
+++ b/
apps/api/handlers/library_handlers.py
@@
-227,7
+227,7
@@
class DocumentHTMLHandler(BaseHandler):
return response.BadRequest().django_response({'reason': 'name-mismatch',
'message': 'Provided revision refers, to document "%s", but provided "%s"' % (document.id, docid) })
return response.BadRequest().django_response({'reason': 'name-mismatch',
'message': 'Provided revision refers, to document "%s", but provided "%s"' % (document.id, docid) })
- return librarian.html.transform(document.data('xml'), is_file=False)
+ return librarian.html.transform(document.data('xml'), is_file=False
, parse_dublincore=False
)
except (EntryNotFound, RevisionNotFound), e:
return response.EntityNotFound().django_response({
'exception': type(e), 'message': e.message})
except (EntryNotFound, RevisionNotFound), e:
return response.EntityNotFound().django_response({
'exception': type(e), 'message': e.message})