ObjectStateProxy
Overview
A view that adds workflow's content type as a calculated field on object state. Used for the object_states_proxy GenericRelation that workflow adds to each workflow model (reverse GenericForeignKey).
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
NotUpdated
The updated object no longer exists.
Source
server/vueda/workflow/models.py
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 | Default | Description |
|---|---|---|---|---|
| unknown | yes |
object_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
object_id(unknown)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| unknown | yes |
objects
Signature
objects(unknown)
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| unknown | yes |
content_type
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.
content_type_id
object
object_state
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.
object_state_id
state
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.
state_id
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:487