akvo.rsr.models.policy_marker module
- class akvo.rsr.models.policy_marker.PolicyMarker(id, project, policy_marker, significance, vocabulary, vocabulary_uri, description)[source]
Bases:
Model
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_policy_marker_display(*, field=<akvo.rsr.fields.ValidXMLCharField: policy_marker>)
- get_significance_display(*, field=<akvo.rsr.fields.ValidXMLCharField: significance>)
- get_vocabulary_display(*, field=<akvo.rsr.fields.ValidXMLCharField: vocabulary>)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- policy_marker
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- project
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 aForwardManyToOneDescriptor
instance.
- project_id
- significance
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- vocabulary
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- vocabulary_uri
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.