1 # -*- encoding: utf-8 -*-
3 __author__= "Ćukasz Rekucki"
4 __date__ = "$2009-09-25 15:53:00$"
5 __doc__ = "Module documentation."
7 from piston.resource import Resource
8 from api.utils import DjangoAuth
13 authdata = {'authentication': DjangoAuth()}
19 import api.handlers.library_handlers as dh
20 library_resource = Resource(dh.LibraryHandler, **authdata)
21 document_resource = Resource(dh.DocumentHandler, **authdata)
22 document_text_resource = Resource(dh.DocumentTextHandler, **authdata)
23 document_dc_resource = Resource(dh.DocumentDublinCoreHandler, **authdata)
28 import api.handlers.toolbar_handlers as th
29 toolbar_buttons = Resource(th.ToolbarHandler, **authdata)
30 scriptlets = Resource(th.ScriptletsHandler, **authdata)
35 'document_text_resource',
36 'document_dc_resource',