Skip to content

Grants

Grant (TimeStampedModel) django-model

A grant is funding that a PI receives for their project.

Attributes:

Name Type Description
project Project

links the project to the grant

title str

grant title

grant_number str

grant number from agency used for identification

role str

role of the user in charge of the grant

grant_pi_full_name str

PI's name

funding_agency GrantFundingAgency

represents the agency funding the grant

other_funding_agency GrantFundingAgency

optional field indicating any other agency that funded the grant

other_award_number str

indicates an alternate grant ID number that a PI might have for an award

grant_start Date

represents grant start date

grant_end Date

represents the grant end date

percent_credit float

indicates how much of the grant is awarded as credit

direct_funding float

indicates how much of the grant is directly funded

total_amount_awarded float

indicates the total amount awarded

status GrantStatusChoice

represents the status of the grant

created: AutoCreatedField django-field

created

direct_funding: MoneyField django-field

direct funding

funding_agency: ForeignKey django-field

funding agency

grant_end: DateField django-field

Grant End Date

grant_number: CharField django-field

Grant Number from funding agency

grant_pi property readonly

Returns:

Type Description
str

the grant's PI's full name

grant_pi_full_name: CharField blank django-field

Grant PI Full Name

grant_start: DateField django-field

Grant Start Date

modified: AutoLastModifiedField django-field

modified

other_award_number: CharField blank django-field

other award number

other_funding_agency: CharField blank django-field

other funding agency

percent_credit: PercentField django-field

percent credit

project: ForeignKey django-field

project

role: CharField django-field

role

status: ForeignKey django-field

status

title: CharField django-field

title

total_amount_awarded: MoneyField django-field

total amount awarded

save_without_historical_record

Save model without saving a historical record

Make sure you know what you're doing before you use this method.

GrantFundingAgency (TimeStampedModel) django-model

A grant funding agency is an agency that funds projects. Examples include Department of Defense (DoD) and National Aeronautics and Space Administration (NASA).

Attributes:

Name Type Description
name str

agency name

created: AutoCreatedField django-field

created

modified: AutoLastModifiedField django-field

modified

name: CharField django-field

name

GrantStatusChoice (TimeStampedModel) django-model

A grant status choice is an option a user has when setting the status of a grant. Examples include Active, Archived, and Pending.

Attributes:

Name Type Description
name str

status name

created: AutoCreatedField django-field

created

modified: AutoLastModifiedField django-field

modified

name: CharField django-field

name

MoneyField (CharField)

to_python

Convert the input value into the expected Python data type, raising django.core.exceptions.ValidationError if the data can't be converted. Return the converted value. Subclasses should override this.

PercentField (CharField)

to_python

Convert the input value into the expected Python data type, raising django.core.exceptions.ValidationError if the data can't be converted. Return the converted value. Subclasses should override this.