akvo.rsr.models.result.indicator_reference module
- class akvo.rsr.models.result.indicator_reference.IndicatorReference(id, indicator, reference, vocabulary, vocabulary_uri)[source]
Bases:
Model
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- 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.
- indicator
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.
- indicator_id
- objects = <django.db.models.manager.Manager object>
- project_relation = 'results__indicators__references__in'
- reference
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.