fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Client message reporting refactor.
[redakcja.git]
/
apps
/
api
/
resources.py
diff --git
a/apps/api/resources.py
b/apps/api/resources.py
index
51127e4
..
1d55aa9
100644
(file)
--- a/
apps/api/resources.py
+++ b/
apps/api/resources.py
@@
-14,11
+14,14
@@
authdata = {'authentication': DjangoAuth()}
#
import api.handlers.library_handlers as dh
#
import api.handlers.library_handlers as dh
+from api.handlers.text_handler import DocumentTextHandler
+
library_resource = Resource(dh.LibraryHandler, **authdata)
document_resource = Resource(dh.DocumentHandler, **authdata)
library_resource = Resource(dh.LibraryHandler, **authdata)
document_resource = Resource(dh.DocumentHandler, **authdata)
-document_text_resource = Resource(
dh.
DocumentTextHandler, **authdata)
+document_text_resource = Resource(DocumentTextHandler, **authdata)
document_html_resource = Resource(dh.DocumentHTMLHandler, **authdata)
document_html_resource = Resource(dh.DocumentHTMLHandler, **authdata)
-document_dc_resource = Resource(dh.DocumentDublinCoreHandler, **authdata)
+# document_dc_resource = Resource(dh.DocumentDublinCoreHandler, **authdata)
+document_gallery = Resource(dh.DocumentGalleryHandler, **authdata)
document_merge = Resource(dh.MergeHandler, **authdata)
import api.handlers.manage_handlers as mh
document_merge = Resource(dh.MergeHandler, **authdata)
import api.handlers.manage_handlers as mh
@@
-40,7
+43,8
@@
__all__ = [
'document_resource',
'document_text_resource',
'document_html_resource',
'document_resource',
'document_text_resource',
'document_html_resource',
- 'document_dc_resource',
+# 'document_dc_resource',
+ 'document_gallery',
'document_merge',
'toolbar_buttons',
'scriptlets',
'document_merge',
'toolbar_buttons',
'scriptlets',