<s> import handlers <EOL> from django . conf . urls import * <EOL> from treeio . core . api . auth import auth_engine <EOL> from treeio . core . api . doc import documentation_view <EOL> from treeio . core . api . resource import CsrfExemptResource <EOL> ad = { '<STR_LIT>' : auth_engine } <EOL> folderResource = CsrfExemptResource ( <EOL> handler = handlers . KnowledgeFolderHandler , ** ad ) <EOL> categoryResource = CsrfExemptResource ( <EOL> handler = handlers . KnowledgeCategoryHandler , ** ad ) <EOL> itemResource = CsrfExemptResource ( handler = handlers . KnowledgeItemHandler , ** ad ) <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , documentation_view , kwargs = { <EOL> '<STR_LIT>' : handlers } , name = "<STR_LIT>" ) , <EOL> url ( r'<STR_LIT>' , folderResource , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> folderResource , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , categoryResource , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> categoryResource , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , itemResource , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> itemResource , name = '<STR_LIT>' ) , <EOL> ) </s>
