Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list ClassDef bases body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Call NameLoad Str keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list ClassDef bases body Assign NameStore TupleLoad Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore TupleLoad Str Str Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Str keyword TupleLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body TryExcept body If CompareIn NameLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return AttributeLoad Call AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr decorator_list ClassDef bases body Assign NameStore TupleLoad Str Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Str FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str decorator_list decorator_list NameLoad
N/A __future__ unicode_literals N/A logging django.contrib.auth.models User django.core.urlresolvers reverse django.db IntegrityError models django.utils.encoding python_2_unicode_compatible django.utils.translation ugettext_lazy _ documents.models Document DocumentType managers WorkflowManager N/A logger N/A N/A logging getLogger __name__ Workflow N/A N/A models Model N/A N/A label N/A N/A models CharField max_length 255 unique True verbose_name N/A _ Label N/A document_types N/A N/A models ManyToManyField DocumentType related_name workflows verbose_name N/A _ Document types N/A objects N/A WorkflowManager __str__ N/A N/A self N/A N/A N/A N/A self label N/A get_document_types_not_in_workflow N/A N/A self N/A N/A N/A N/A N/A N/A DocumentType objects exclude pk__in N/A N/A N/A self document_types all N/A get_initial_state N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self states get initial True N/A N/A N/A N/A N/A N/A self states model DoesNotExist N/A N/A None N/A launch_for N/A N/A self document N/A N/A N/A N/A N/A N/A N/A logger info Launching workflow %s for document %s self document N/A N/A N/A N/A self instances create document document N/A N/A N/A IntegrityError N/A N/A N/A N/A logger info Workflow %s already launched for document %s self document N/A N/A N/A N/A logger info Workflow %s launched for document %s self document N/A Meta N/A N/A N/A verbose_name N/A _ Workflow N/A verbose_name_plural N/A _ Workflows N/A N/A python_2_unicode_compatible WorkflowState N/A N/A models Model N/A N/A workflow N/A N/A models ForeignKey Workflow related_name states verbose_name N/A _ Workflow N/A label N/A N/A models CharField max_length 255 verbose_name N/A _ Label N/A initial N/A N/A models BooleanField default False help_text N/A _ Select if this will be the state with which you want the workflow to start in. Only one state can be the initial state. verbose_name N/A _ Initial N/A completion N/A N/A models IntegerField blank True default 0 help_text N/A _ Enter the percent of completion that this state represents in relation to the workflow. Use numbers without the percent sign. verbose_name N/A _ Completion __str__ N/A N/A self N/A N/A N/A N/A self label N/A save N/A N/A self N/A args kwargs N/A N/A N/A self initial N/A N/A N/A N/A N/A N/A N/A N/A self workflow states all update initial False N/A N/A N/A N/A super WorkflowState self save args kwargs N/A Meta N/A N/A N/A unique_together N/A workflow label N/A verbose_name N/A _ Workflow state N/A verbose_name_plural N/A _ Workflow states N/A N/A python_2_unicode_compatible WorkflowTransition N/A N/A models Model N/A N/A workflow N/A N/A models ForeignKey Workflow related_name transitions verbose_name N/A _ Workflow N/A label N/A N/A models CharField max_length 255 verbose_name N/A _ Label N/A origin_state N/A N/A models ForeignKey WorkflowState related_name origin_transitions verbose_name N/A _ Origin state N/A destination_state N/A N/A models ForeignKey WorkflowState related_name destination_transitions verbose_name N/A _ Destination state __str__ N/A N/A self N/A N/A N/A N/A self label N/A Meta N/A N/A N/A unique_together N/A workflow label origin_state destination_state N/A verbose_name N/A _ Workflow transition N/A verbose_name_plural N/A _ Workflow transitions N/A N/A python_2_unicode_compatible WorkflowInstance N/A N/A models Model N/A N/A workflow N/A N/A models ForeignKey Workflow related_name instances verbose_name N/A _ Workflow N/A document N/A N/A models ForeignKey Document related_name workflows verbose_name N/A _ Document __str__ N/A N/A self N/A N/A N/A N/A unicode N/A self workflow N/A get_absolute_url N/A N/A self N/A N/A N/A N/A reverse document_states:workflow_instance_detail args N/A N/A str N/A self pk N/A do_transition N/A N/A self comment transition user N/A N/A N/A N/A N/A N/A transition N/A N/A N/A N/A N/A self get_current_state origin_transitions all N/A N/A N/A N/A N/A self log_entries create comment comment transition transition user user N/A N/A N/A AttributeError N/A N/A N/A get_current_state N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self get_last_transition destination_state N/A N/A N/A AttributeError N/A N/A N/A N/A N/A self workflow get_initial_state N/A get_last_log_entry N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A self log_entries order_by datetime last N/A N/A N/A AttributeError N/A N/A None N/A get_last_transition N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self get_last_log_entry transition N/A N/A N/A AttributeError N/A N/A None N/A get_transition_choices N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self get_current_state origin_transitions all N/A Meta N/A N/A N/A unique_together N/A document workflow N/A verbose_name N/A _ Workflow instance N/A verbose_name_plural N/A _ Workflow instances N/A N/A python_2_unicode_compatible WorkflowInstanceLogEntry N/A N/A models Model N/A N/A workflow_instance N/A N/A models ForeignKey WorkflowInstance related_name log_entries verbose_name N/A _ Workflow instance N/A datetime N/A N/A models DateTimeField auto_now_add True db_index True verbose_name N/A _ Datetime N/A transition N/A N/A models ForeignKey WorkflowTransition verbose_name N/A _ Transition N/A user N/A N/A models ForeignKey User verbose_name N/A _ User N/A comment N/A N/A models TextField blank True verbose_name N/A _ Comment __str__ N/A N/A self N/A N/A N/A N/A unicode N/A self transition N/A Meta N/A N/A N/A verbose_name N/A _ Workflow instance log entry N/A verbose_name_plural N/A _ Workflow instance log entries N/A N/A python_2_unicode_compatible