X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8c26f548ef22db734120de4a0828aa8d6b9fdaa0..dd0510d0730e259a57e01b63b8b34a24b7cfdd4a:/apps/api/resources.py?ds=sidebyside diff --git a/apps/api/resources.py b/apps/api/resources.py index 4e0a1180..fbdb89b8 100644 --- a/apps/api/resources.py +++ b/apps/api/resources.py @@ -14,9 +14,11 @@ authdata = {'authentication': DjangoAuth()} # 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) -document_text_resource = Resource(dh.DocumentTextHandler, **authdata) +document_text_resource = Resource(DocumentTextHandler, **authdata) document_html_resource = Resource(dh.DocumentHTMLHandler, **authdata) # document_dc_resource = Resource(dh.DocumentDublinCoreHandler, **authdata) document_gallery = Resource(dh.DocumentGalleryHandler, **authdata)