Project Activity

ProjectActivity.ProjectActivity(**kwargs)

The Project Activity model holds data for specific sustainability activities associated with a Project.

The model acts as a container for both target activities and potentially alternative “baseline candidates”

A Project will have at least one Project Activity

project_activity_identifier varchar(80), project_activity_description text, -> SHORT_DESCR project_activity_emissions real, baseline_activity_emissions real, project_activity_role integer, baseline_estimation integer, baseline_procedure_justification text,

references portfolio_project

NEW project_activity_title NEW region NEW main_site

class portfolio.ProjectActivity.ProjectActivity(*args, **kwargs)

The Project Activity model holds data for specific sustainability activities associated with a Project.

The model acts as a container for both target activities and potentially alternative “baseline candidates”

A Project will have at least one Project Activity

project_activity_identifier varchar(80), project_activity_description text, -> SHORT_DESCR project_activity_emissions real, baseline_activity_emissions real, project_activity_role integer, baseline_estimation integer, baseline_procedure_justification text,

references portfolio_project

NEW project_activity_title NEW region NEW main_site

exception DoesNotExist
exception MultipleObjectsReturned
activitybarrier_set

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.

baseline_activity_emissions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

baseline_estimation

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

baseline_procedure_justification

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

creation_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_absolute_url()
get_baseline_estimation_display(*, field=<django.db.models.fields.IntegerField: baseline_estimation>)
get_next_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=True, **kwargs)
get_next_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=True, **kwargs)
get_previous_by_creation_date(*, field=<django.db.models.fields.DateTimeField: creation_date>, is_next=False, **kwargs)
get_previous_by_last_change_date(*, field=<django.db.models.fields.DateTimeField: last_change_date>, is_next=False, **kwargs)
get_project_activity_role_display(*, field=<django.db.models.fields.IntegerField: project_activity_role>)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

last_change_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

main_site

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>
primaryeffect_set

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.

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 a ForwardManyToOneDescriptor instance.

project_activity_description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

project_activity_emissions

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

project_activity_identifier

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

project_activity_role

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

project_activity_title

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

project_id
region

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

secondaryeffect_set

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.

text_rendered

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

text_rendered2

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.