Module ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Assign NameStore TupleLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Return Dict Str Str Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Dict Str Str NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Call NameLoad Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Call NameLoad Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str IfExp NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str Dict Str Str NameLoad NameLoad Return Call NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad BinOpMod Call NameLoad Str NameLoad Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str BinOpMod Call NameLoad Str Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad Str keyword TupleLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str IfExp NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore NameLoad body If CompareNotIn AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str Dict Str Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str Dict Str Str NameLoad NameLoad Return Call NameLoad NameLoad orelse Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad Str Str Call AttributeLoad NameLoad attr Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str Str NameLoad AttributeLoad NameLoad attr BinOpMod Call NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str IfExp NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body For NameStore NameLoad body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Call NameLoad Str Dict Str Str NameLoad NameLoad Return Call NameLoad NameLoad Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad BinOpMod Call NameLoad Str Str Call AttributeLoad NameLoad attr Dict Str NameLoad If CompareEq Call AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Return Call NameLoad Str NameLoad keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad NameLoad keyword Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Str decorator_list
N/A __future__ absolute_import unicode_literals N/A logging django.conf settings django.contrib messages django.core.exceptions PermissionDenied django.core.urlresolvers reverse reverse_lazy django.http HttpResponseRedirect django.shortcuts get_object_or_404 render_to_response django.template RequestContext django.utils.translation ugettext_lazy _ ungettext acls.models AccessControlList common.views SingleObjectCreateView SingleObjectEditView SingleObjectListView documents.permissions permission_document_view documents.models Document documents.views DocumentListView permissions Permission forms FolderListForm models Folder permissions permission_folder_add_document permission_folder_create permission_folder_delete permission_folder_edit permission_folder_view permission_folder_remove_document N/A logger N/A N/A logging getLogger __name__ FolderEditView N/A SingleObjectEditView N/A N/A fields N/A label N/A model Folder N/A object_permission permission_folder_edit N/A post_action_redirect N/A reverse_lazy folders:folder_list get_extra_context N/A N/A self N/A N/A N/A N/A object title N/A N/A self get_object N/A N/A _ Edit folder: %s N/A N/A self get_object N/A N/A FolderListView N/A SingleObjectListView N/A N/A object_permission permission_folder_view get_extra_context N/A N/A self N/A N/A N/A N/A hide_link title True N/A _ Folders N/A get_folder_queryset N/A N/A self N/A N/A N/A N/A N/A N/A Folder objects all N/A get_queryset N/A N/A self N/A N/A N/A N/A self queryset N/A N/A self get_folder_queryset N/A N/A N/A N/A super FolderListView self get_queryset N/A N/A FolderCreateView N/A SingleObjectCreateView N/A N/A fields N/A label N/A model Folder N/A view_permission permission_folder_create form_valid N/A N/A self form N/A N/A N/A N/A N/A N/A N/A N/A Folder objects get label N/A N/A form cleaned_data N/A label user N/A N/A self request user N/A N/A N/A N/A Folder DoesNotExist N/A N/A instance N/A N/A form save commit False N/A N/A instance user N/A N/A self request user N/A N/A N/A instance save N/A N/A N/A N/A super FolderCreateView self form_valid form N/A N/A N/A N/A messages error N/A self request N/A N/A _ A folder named: %s, already exists. N/A N/A form cleaned_data N/A label N/A N/A N/A N/A super FolderCreateView self form_invalid form N/A get_extra_context N/A N/A self N/A N/A N/A N/A title N/A _ Create folder N/A N/A folder_delete N/A N/A request folder_id N/A N/A N/A folder N/A get_object_or_404 Folder pk folder_id N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_folder_delete N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_folder_delete N/A request user folder N/A post_action_redirect N/A reverse folders:folder_list N/A previous N/A N/A N/A request POST get previous N/A N/A N/A request GET get previous N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A next N/A N/A N/A request POST get next N/A N/A N/A request GET get next N/A post_action_redirect post_action_redirect N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A N/A N/A request method POST N/A N/A N/A N/A N/A N/A folder delete N/A N/A N/A messages success request N/A N/A _ Folder: %s deleted successfully. folder N/A N/A N/A Exception N/A exception N/A N/A N/A N/A messages error request N/A N/A _ Folder: %(folder)s delete error: %(error)s N/A folder error folder exception N/A N/A HttpResponseRedirect next N/A context N/A delete_view previous next object title True previous next folder N/A N/A _ Delete the folder: %s? folder N/A N/A render_to_response appearance/generic_confirm.html context context_instance N/A RequestContext request N/A FolderDetailView N/A DocumentListView N/A get_document_queryset N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self get_folder documents all N/A get_extra_context N/A N/A self N/A N/A N/A N/A title hide_links object N/A N/A _ Documents in folder: %s N/A N/A self get_folder True N/A N/A self get_folder N/A get_folder N/A N/A self N/A N/A N/A folder N/A get_object_or_404 Folder pk N/A N/A self kwargs N/A pk N/A N/A N/A N/A N/A Permission check_permissions N/A N/A self request user N/A permission_folder_view N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_folder_view N/A N/A self request user folder N/A folder N/A N/A folder_add_document N/A N/A request document_id document_id_list N/A None None N/A N/A document_id N/A N/A queryset N/A N/A N/A Document objects filter pk document_id N/A N/A document_id_list N/A N/A queryset N/A N/A N/A Document objects filter pk__in document_id_list N/A N/A queryset N/A N/A N/A N/A messages error request N/A _ Must provide at least one document. N/A N/A HttpResponseRedirect N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_folder_add_document N/A N/A N/A PermissionDenied N/A N/A queryset N/A N/A N/A AccessControlList objects filter_by_access permission_folder_add_document N/A request user queryset N/A post_action_redirect None N/A document_id N/A N/A post_action_redirect N/A reverse folders:document_folder_list args N/A document_id N/A previous N/A N/A N/A request POST get previous N/A N/A N/A request GET get previous N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A next N/A N/A N/A request POST get next N/A N/A N/A request GET get next N/A post_action_redirect post_action_redirect N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A N/A N/A request method POST N/A N/A form N/A FolderListForm N/A request POST user N/A request user N/A N/A N/A form is_valid N/A N/A folder N/A N/A form cleaned_data N/A folder N/A document queryset N/A N/A N/A N/A document pk N/A N/A N/A folder documents values_list pk flat True N/A N/A N/A N/A N/A folder documents add document N/A N/A N/A messages success request N/A N/A _ Document: %(document)s added to folder: %(folder)s successfully. N/A document folder document folder N/A N/A N/A N/A messages warning request N/A N/A _ Document: %(document)s is already in folder: %(folder)s. N/A document folder document folder N/A N/A HttpResponseRedirect next N/A N/A form N/A FolderListForm user N/A request user N/A context N/A form previous next form previous next N/A N/A N/A N/A queryset count 1 N/A N/A N/A context N/A object N/A N/A queryset first N/A N/A context N/A title N/A ungettext Add document to folder Add documents to folder N/A N/A queryset count N/A N/A render_to_response appearance/generic_form.html context context_instance N/A RequestContext request N/A DocumentFolderListView N/A FolderListView N/A dispatch N/A N/A self request N/A args kwargs N/A N/A N/A self document N/A get_object_or_404 Document pk N/A N/A self kwargs N/A pk N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_document_view N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_document_view N/A request user N/A self document N/A N/A N/A N/A super DocumentFolderListView self dispatch request args kwargs N/A get_extra_context N/A N/A self N/A N/A N/A N/A hide_link object title True N/A self document N/A N/A _ Folders containing document: %s N/A self document N/A get_folder_queryset N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self document document_folders all N/A N/A folder_document_remove N/A N/A request folder_id document_id document_id_list N/A None None N/A N/A post_action_redirect None N/A folder N/A get_object_or_404 Folder pk folder_id N/A document_id N/A N/A queryset N/A N/A N/A Document objects filter pk document_id N/A N/A document_id_list N/A N/A queryset N/A N/A N/A Document objects filter pk__in document_id_list N/A N/A queryset N/A N/A N/A N/A messages error request N/A _ Must provide at least one folder document. N/A N/A HttpResponseRedirect N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_folder_remove_document N/A N/A N/A PermissionDenied N/A N/A queryset N/A N/A N/A AccessControlList objects filter_by_access permission_folder_remove_document N/A request user queryset N/A previous N/A N/A N/A request POST get previous N/A N/A N/A request GET get previous N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A next N/A N/A N/A request POST get next N/A N/A N/A request GET get next N/A post_action_redirect post_action_redirect N/A N/A N/A request META get HTTP_REFERER N/A reverse N/A settings LOGIN_REDIRECT_URL N/A N/A N/A request method POST N/A N/A folder_document queryset N/A N/A N/A N/A N/A N/A N/A folder documents remove folder_document N/A N/A N/A messages success request N/A N/A _ Document: %s removed successfully. folder_document N/A N/A N/A Exception N/A exception N/A N/A N/A N/A messages error request N/A N/A _ Document: %(document)s delete error: %(error)s N/A document error folder_document exception N/A N/A HttpResponseRedirect next N/A context N/A next object previous title next folder previous N/A N/A ungettext Remove the selected document from the folder: %(folder)s? Remove the selected documents from the folder: %(folder)s? N/A N/A queryset count N/A folder folder N/A N/A N/A N/A queryset count 1 N/A N/A N/A context N/A object N/A N/A queryset first N/A N/A render_to_response appearance/generic_confirm.html context context_instance N/A RequestContext request N/A folder_document_multiple_remove N/A N/A request folder_id N/A N/A N/A N/A folder_document_remove request folder_id document_id_list N/A N/A N/A N/A N/A request GET get id_list N/A N/A N/A request POST get id_list split , N/A folder_add_multiple_documents N/A N/A request N/A N/A N/A N/A folder_add_document request document_id_list N/A N/A N/A N/A N/A request GET get id_list N/A N/A N/A request POST get id_list split , N/A