WorkflowPermission
Overview
The permissions that are required to get available transitions for a given object or execute a transition.
DoesNotExist
The requested object does not exist
Source
server/vueda/workflow/models.py
MultipleObjectsReturned
The query returned multiple objects when only one was expected.
Source
server/vueda/workflow/models.py
str {#str}
Return str(self).
Signature {#str-signature}
__str__(self)
Parameters {#str-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source {#str-source}
server/vueda/workflow/models.py:106
historical_permission_codename
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
historical_permission_codename(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
historical_permission_content_type_app_label
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
historical_permission_content_type_app_label(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
historical_permission_content_type_model_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
historical_permission_content_type_model_name(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
id(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
objects
Signature
objects(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
pgh_event_model
A descriptor for accessing the pgh_event_model field on a tracked model
Signature
pgh_event_model(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
save
Save the current instance. Override this in a subclass if you want to control the saving process.
The 'force_insert' and 'force_update' parameters can be used to insist that the "save" must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
Signature
save(self, args, kwargs)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| args | yes | ||
| kwargs | yes |
Source
server/vueda/workflow/models.py:143
_meta
events
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
permission
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Child.parent is a ForwardManyToOneDescriptor instance.
permission_id
pgh_event_models
workflow
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Child.parent is a ForwardManyToOneDescriptor instance.
workflow_id
Source
server/vueda/workflow/models.py:85