Module ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore 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 NameLoad Assign NameStore AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad name NameStore body Return Call NameLoad keyword Dict Str Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Return Call NameLoad keyword AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign NameStore NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr Str keyword NameLoad orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr If CompareEq AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body 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 orelse 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 Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A pytz django.core.exceptions PermissionDenied django.shortcuts get_object_or_404 rest_framework generics status rest_framework.response Response acls.models AccessControlList documents.models Document documents.permissions permission_document_view permissions Permission models DocumentCheckout permissions permission_document_checkout permission_document_checkin permission_document_checkin_override serializers DocumentCheckoutSerializer NewDocumentCheckoutSerializer APICheckedoutDocumentListView N/A N/A generics ListCreateAPIView N/A get_serializer_class N/A N/A self N/A N/A N/A N/A N/A N/A self request method POST N/A N/A NewDocumentCheckoutSerializer N/A N/A DocumentCheckoutSerializer N/A get_queryset N/A N/A self N/A N/A N/A documents N/A N/A N/A DocumentCheckout objects checked_out_documents N/A N/A N/A N/A N/A Permission check_permissions N/A N/A self request user N/A permission_document_view N/A N/A N/A PermissionDenied N/A N/A filtered_documents N/A N/A N/A AccessControlList objects filter_by_access N/A permission_document_view N/A N/A self request user documents N/A N/A filtered_documents documents N/A N/A N/A N/A DocumentCheckout objects filter document__pk__in N/A N/A filtered_documents values_list pk flat True N/A get N/A N/A self request N/A args kwargs N/A N/A 
        Returns a list of all the documents that are currently checked out.
         N/A N/A N/A N/A super APICheckedoutDocumentListView self get request args kwargs N/A post N/A N/A self request N/A args kwargs N/A N/A 
        Checkout a document.
         N/A serializer N/A N/A self get_serializer data N/A request DATA files N/A request FILES N/A N/A N/A serializer is_valid N/A N/A document N/A get_object_or_404 Document pk N/A N/A serializer data N/A document N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_document_checkout N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_document_checkout N/A request user document N/A timezone N/A pytz utc N/A N/A N/A N/A N/A N/A DocumentCheckout objects create document document expiration_datetime N/A N/A timezone localize N/A N/A serializer data N/A expiration_datetime user N/A request user block_new_version N/A N/A serializer data N/A block_new_version N/A N/A N/A Exception N/A exception N/A N/A N/A Response data N/A exception N/A unicode exception status N/A status HTTP_400_BAD_REQUEST N/A N/A Response status N/A status HTTP_201_CREATED N/A N/A Response N/A serializer errors status N/A status HTTP_400_BAD_REQUEST N/A N/A APICheckedoutDocumentView N/A N/A generics RetrieveDestroyAPIView N/A N/A serializer_class DocumentCheckoutSerializer get_queryset N/A N/A self N/A N/A N/A N/A N/A N/A self request method GET N/A N/A documents N/A N/A N/A DocumentCheckout objects checked_out_documents N/A N/A N/A N/A N/A Permission check_permissions N/A N/A self request user N/A permission_document_view N/A N/A N/A PermissionDenied N/A N/A filtered_documents N/A N/A N/A AccessControlList objects filter_by_access N/A permission_document_view N/A N/A self request user documents N/A N/A filtered_documents documents N/A N/A N/A N/A DocumentCheckout objects filter document__pk__in N/A N/A filtered_documents values_list pk flat True N/A N/A N/A N/A N/A self request method DELETE N/A N/A N/A N/A N/A DocumentCheckout objects all N/A get N/A N/A self request N/A args kwargs N/A N/A 
        Retrieve the details of the selected checked out document entry.
         N/A N/A N/A N/A super APICheckedoutDocumentView self get request args kwargs N/A delete N/A N/A self request N/A args kwargs N/A N/A 
        Checkin a document.
         N/A document N/A N/A N/A self get_object document N/A N/A N/A N/A N/A document checkout_info user N/A request user N/A N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_document_checkin N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_document_checkin N/A request user document N/A N/A N/A N/A N/A N/A Permission check_permissions N/A request user N/A permission_document_checkin_override N/A N/A N/A PermissionDenied N/A N/A N/A N/A N/A AccessControlList objects check_access permission_document_checkin_override N/A request user document N/A N/A N/A N/A super APICheckedoutDocumentView self delete request args kwargs N/A N/A