grants.models

Define the Grant models.

Copyright (C) 2021 Gitcoin Core

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Grant_categories

Grant_categories(self, *args, **kwargs)

Grant_categories(id, grant, grantcategory)

grant

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.

grant_id

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

grantcategory

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.

grantcategory_id

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

id

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

Grant_in_active_clrs

Grant_in_active_clrs(self, *args, **kwargs)

Grant_in_active_clrs(id, grant, grantclr)

grant

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.

grant_id

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

grantclr

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.

grantclr_id

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

id

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

Grant_tags

Grant_tags(self, *args, **kwargs)

Grant_tags(id, grant, granttag)

grant

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.

grant_id

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

granttag

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.

granttag_id

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

id

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

Grant_team_members

Grant_team_members(self, *args, **kwargs)

Grant_team_members(id, grant, profile)

grant

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.

grant_id

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

id

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

profile

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.

profile_id

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

GrantCollection_curators

GrantCollection_curators(self, *args, **kwargs)

GrantCollection_curators(id, grantcollection, profile)

grantcollection

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.

grantcollection_id

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

id

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

profile

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.

profile_id

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

GrantCollection_grants

GrantCollection_grants(self, *args, **kwargs)

GrantCollection_grants(id, grantcollection, grant)

grant

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.

grant_id

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

grantcollection

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.

grantcollection_id

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

id

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

GrantQuerySet

GrantQuerySet(self, model=None, query=None, using=None, hints=None)

Define the Grant default queryset and manager.

active

GrantQuerySet.active(self)

Filter results down to active grants only.

inactive

GrantQuerySet.inactive(self)

Filter results down to inactive grants only.

keyword

GrantQuerySet.keyword(self, keyword)

Filter results to all Grant objects containing the keywords.

Args: keyword (str): The keyword to search title, description, and reference URL by.

Returns: dashboard.models.GrantQuerySet: The QuerySet of grants filtered by keyword.

GrantCategory

GrantCategory(self, *args, **kwargs)

GrantCategory(id, created_on, modified_on, category)

category

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

_method

GrantCategory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantCategory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantCategory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantCategory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant_set

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

id

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

GrantTag

GrantTag(self, *args, **kwargs)

GrantTag(id, created_on, modified_on, name)

_method

GrantTag._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantTag._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantTag._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantTag._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant_set

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

id

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

name

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

GrantType

GrantType(self, *args, **kwargs)

GrantType(id, created_on, modified_on, name, label, is_active, is_visible, logo)

_method

GrantType._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantType._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantType._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantType._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant_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.

id

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

is_active

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

is_visible

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

label

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

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

name

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

GrantCLR

GrantCLR(self, *args, **kwargs)

GrantCLR(id, created_on, modified_on, customer_name, round_num, sub_round_slug, display_text, owner, is_active, start_date, end_date, grant_filters, subscription_filters, collection_filters, verified_threshold, unverified_threshold, total_pot, contribution_multiplier, logo)

clr_calculations

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.

collection_filters

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

contribution_multiplier

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

customer_name

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

display_text

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

end_date

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

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=True, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=True, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=False, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

_method

GrantCLR._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=False, **kwargs)

grant_filters

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

grant_set

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

id

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

is_active

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

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

matchpledge_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.

owner

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.

owner_id

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

round_num

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

start_date

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

sub_round_slug

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

subscription_filters

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

total_pot

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

unverified_threshold

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

verified_threshold

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

GrantAPIKey

GrantAPIKey(self, *args, **kwargs)

Define the structure of a GrantAPIKey.

_method

GrantAPIKey._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantAPIKey._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantAPIKey._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantAPIKey._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

id

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

key

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

profile

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.

profile_id

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

secret

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

Grant

Grant(self, *args, **kwargs)

Define the structure of a Grant.

abi

Return grants abi.

active

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

activeSubscriptions

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

activities

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.

admin_address

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

admin_message

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

admin_profile

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.

admin_profile_id

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

algorand_payout_address

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

amount_received

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

amount_received_in_round

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

amount_received_with_phantom_funds

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

binance_payout_address

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

calc_clr_round_label

Generates CLR rounds display text seperated by comma

calc_clr_round_nums

Generates CLR rounds sub_round_slug seperated by comma

cancel_tx_id

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

cart_actions

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.

categories

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

celo_payout_address

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

clr_calculations

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.

clr_matches

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.

clr_prediction_curve

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

clr_round_num

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

contract

Return grants contract.

contract_address

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

contract_owner_address

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

contract_version

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

contribution_count

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

contributor_count

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

defer_clr_to

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.

defer_clr_to_id

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

defered_clr_from

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.

deploy_tx_id

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

description

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

description_rich

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

EXTERNAL_FUNDING

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

flags

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.

funding_info

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

_method

Grant._method(self, *, field=<django.db.models.fields.CharField: has_external_funding>)

_method

Grant._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

Grant._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

Grant._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

Grant._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

_method

Grant._method(self, *, field=<django.db.models.fields.CharField: region>)

github_project_url

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

grant_favorites

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.

grant_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.

grant_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.

grant_type_id

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

grantcollection_set

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

hackathonproject_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.

harmony_payout_address

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

has_external_funding

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

hidden

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

id

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

image_css

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

in_active_clrs

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

is_clr_active

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

is_clr_eligible

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

kusama_payout_address

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

last_clr_calc_date

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

last_update

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

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.

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

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

logo_svg

The descriptor for the file attribute on the model instance. Return a FieldFile when accessed so you can write code like::

>>> from myapp.models import MyModel
>>> instance = MyModel.objects.get(pk=1)
>>> instance.file.size

Assign a file object on assignment so you can do::

>>> with open('/path/to/hello.world', 'r') as f:
...     instance.file = File(f)

metadata

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

monthly_amount_subscribed

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

negative_round_contributor_count

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

network

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

next_clr_calc_date

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

phantom_funding

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.

polkadot_payout_address

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

positive_round_contributor_count

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

random_shuffle

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

reference_url

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

region

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

REGIONS

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

required_gas_price

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

rsk_payout_address

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

slug

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

stats

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.

subscriptions

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.

sybil_score

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

tags

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

team_members

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

tenants

returns list of chains the grant can recieve contributions in

title

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

token_address

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

token_symbol

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

twitter_handle_1

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

twitter_handle_1_follower_count

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

twitter_handle_2

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

twitter_handle_2_follower_count

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

twitter_verified

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

twitter_verified_at

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

twitter_verified_by

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.

twitter_verified_by_id

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

url

Return grants url.

vector_column

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

visible

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

weighted_risk_score

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

weighted_shuffle

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

zcash_payout_address

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

zil_payout_address

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

updateActiveSubscriptions

Grant.updateActiveSubscriptions(self)

updates the active subscriptions list

save

Grant.save(self, update=True, *args, **kwargs)

Override the Grant save to optionally handle modified_on logic.

Subscription

Subscription(self, *args, **kwargs)

Define the structure of a subscription agreement.

active

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

activities

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.

amount_per_period

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

amount_per_period_usdt

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

cancel_tx_id

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

comments

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

contributor_address

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

contributor_profile

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.

contributor_profile_id

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

contributor_signature

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

donations

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.

end_approve_tx_id

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

error

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

frequency

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

frequency_unit

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

gas_price

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

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: last_contribution_date>, is_next=True, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: next_contribution_date>, is_next=True, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: last_contribution_date>, is_next=False, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.DateTimeField: next_contribution_date>, is_next=False, **kwargs)

_method

Subscription._method(self, *, field=<django.db.models.fields.CharField: tenant>)

grant

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.

grant_id

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

id

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

is_postive_vote

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

last_contribution_date

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

network

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

new_approve_tx_id

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

next_contribution_date

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

num_tx_approved

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

num_tx_processed

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

real_period_seconds

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

split_tx_confirmed

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

split_tx_id

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

status

Return grants status, current or past due.

subminer_comments

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

subscription_contribution

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.

subscription_hash

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

TENANT

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

tenant

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

token_address

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

token_symbol

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

visitorId

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

get_debug_info

Subscription.get_debug_info(self)

Return grants contract.

get_is_ready_to_be_processed_from_db

Subscription.get_is_ready_to_be_processed_from_db(self)

Return true if subscription is ready to be processed according to the DB.

get_is_subscription_ready_from_web3

Subscription.get_is_subscription_ready_from_web3(self)

Return true if subscription is ready to be processed according to web3.

get_check_success_web3

Subscription.get_check_success_web3(self)

Check the return value of the previous function. Returns true if the previous function.

do_cancel_subscription_via_web3

Subscription.do_cancel_subscription_via_web3(self, minutes_to_confirm_within=1)

.Cancels the subscripion on the blockchain

do_execute_subscription_via_web3

Subscription.do_execute_subscription_via_web3(self, minutes_to_confirm_within=1)

.Executes the subscription on the blockchain

helper_tx_dict

Subscription.helper_tx_dict(self, minutes_to_confirm_within=1)

returns a dict like this: {'to': '0xd3cda913deb6f67967b99d67acdfa1712c293601', 'from': web3.eth.coinbase, 'value': 12345}

get_is_active_from_web3

Subscription.get_is_active_from_web3(self)

Return true if subscription is active according to web3.

get_subscription_signer_from_web3

Subscription.get_subscription_signer_from_web3(self)

Return subscription signer.

get_subscription_hash_arguments

Subscription.get_subscription_hash_arguments(self)

Get the grant subscription hash from web3.

Attributes: from (str): Subscription.contributor_address to (str): Grant.admin_address tokenAddress (str): Subscription.token_address tokenAmount (float): Subscription.amount_per_period periodSeconds (int): real_period_seconds in the Subscription model gasPrice (float): Subscription.gas_price nonce (int): The nonce is stored in the Contribution model. its created / managed by sync_geth signature (str): Subscription.contributor_signature

Returns: str: The Subscription hash.

get_hash_from_web3

Subscription.get_hash_from_web3(self)

Returns the grants subscription hash (has to get it from web3).

successful_contribution

Subscription.successful_contribution(self, tx_id, include_for_clr=True, **kwargs)

Create a contribution object. Only expected keyword argument is checkout_type, which was added as a keyword argument to avoid breaking existing calls to this function

Flag

Flag(self, *args, **kwargs)

Flag(id, created_on, modified_on, grant, profile, comments, processed, comments_admin, tweet)

comments

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

comments_admin

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

_method

Flag._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

Flag._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

Flag._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

Flag._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant

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.

grant_id

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

id

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

processed

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

profile

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.

profile_id

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

tweet

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

Donation

Donation(self, *args, **kwargs)

Define the structure of an optional donation. These donations are additional funds sent to Gitcoin as part of contributing or subscribing to a grant.

contribution

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.

contribution_id

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

donation_percentage

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

from_address

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

_method

Donation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

Donation._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

Donation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

Donation._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

id

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

network

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

profile

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.

profile_id

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

subscription

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.

subscription_id

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

to_address

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

token_address

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

token_amount

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

token_amount_usdt

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

token_symbol

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

tx_id

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

Contribution

Contribution(self, *args, **kwargs)

Define the structure of a subscription agreement.

anonymous

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

checkout_type

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

CHECKOUT_TYPES

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

clr_match_payouts

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.

donation

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.

_method

Contribution._method(self, *, field=<django.db.models.fields.CharField: checkout_type>)

_method

Contribution._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

Contribution._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

Contribution._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

Contribution._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

id

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

is_first_in_sequence

returns true only IFF a contribution is the first in a sequence of subscriptions.

match

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

normalized_data

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

originated_address

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

profile_for_clr

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.

profile_for_clr_id

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

split_tx_confirmed

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

split_tx_id

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

subscription

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.

subscription_id

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

success

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

test_clr_match_payouts

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.

tx_cleared

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

tx_id

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

tx_override

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

validator_comment

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

validator_passed

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

identity_identifier

Contribution.identity_identifier(self, mechanism)

Returns the anti sybil identity identiifer for this grant, according to mechanism.

update_tx_status

Contribution.update_tx_status(self)

Updates tx status for Ethereum contributions.

next_month

next_month()

Get the next month time.

CLRMatch

CLRMatch(self, *args, **kwargs)

Define the structure of a CLR Match amount.

amount

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

comments

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

_method

CLRMatch._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

CLRMatch._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

CLRMatch._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

CLRMatch._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant

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.

grant_id

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

has_passed_kyc

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

id

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

payout_contribution

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.

payout_contribution_id

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

payout_tx

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

payout_tx_date

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

ready_for_payout

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

ready_for_test_payout

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

round_number

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

test_payout_contribution

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.

test_payout_contribution_id

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

test_payout_tx

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

test_payout_tx_date

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

MatchPledge

MatchPledge(self, *args, **kwargs)

Define the structure of a MatchingPledge.

active

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

amount

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

clr_round_num

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.

clr_round_num_id

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

comments

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

data

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

end_date

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

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=True, **kwargs)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.CharField: pledge_type>)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=False, **kwargs)

_method

MatchPledge._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

id

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

pledge_type

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

PLEDGE_TYPES

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

profile

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.

profile_id

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

PhantomFunding

PhantomFunding(self, *args, **kwargs)

Define the structure of a PhantomFunding object.

For Grants, we have a fund we’re contributing on their behalf. just having a quick button they can push saves all the hassle of (1) asking them their wallet, (2) sending them the DAI (3) contributing it.

_method

PhantomFunding._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

PhantomFunding._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

PhantomFunding._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

PhantomFunding._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant

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.

grant_id

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

id

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

profile

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.

profile_id

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

round_number

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

CartActivity

CartActivity(self, *args, **kwargs)

CartActivity(id, created_on, modified_on, grant, profile, action, metadata, bulk, latest)

action

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

ACTIONS

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable's items.

If the argument is a tuple, the return value is the same object.

bulk

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

_method

CartActivity._method(self, *, field=<django.db.models.fields.CharField: action>)

_method

CartActivity._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

CartActivity._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

CartActivity._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

CartActivity._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant

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.

grant_id

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

id

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

latest

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

metadata

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

profile

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.

profile_id

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

CollectionsQuerySet

CollectionsQuerySet(self, model=None, query=None, using=None, hints=None)

Handle the manager queryset for Collections.

visible

CollectionsQuerySet.visible(self)

Filter results down to visible collections only.

GrantCollection

GrantCollection(self, *args, **kwargs)

GrantCollection(id, created_on, modified_on, profile, title, description, cover, hidden, cache, featured, shuffle_rank)

cache

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

cover

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

curators

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

description

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

featured

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

_method

GrantCollection._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantCollection._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantCollection._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantCollection._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grants

Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.

In the example::

class Pizza(Model):
    toppings = ManyToManyField(Topping, related_name='pizzas')

Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.

Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.

hidden

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

id

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

profile

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.

profile_id

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

shuffle_rank

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

title

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

GrantStat

GrantStat(self, *args, **kwargs)

GrantStat(id, created_on, modified_on, grant, data, snapshot_type)

data

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

_method

GrantStat._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantStat._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantStat._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantStat._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

_method

GrantStat._method(self, *, field=<django.db.models.fields.CharField: snapshot_type>)

grant

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.

grant_id

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

id

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

snapshot_type

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

SNAPSHOT_TYPES

Built-in mutable sequence.

If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.

GrantCLRCalculation

GrantCLRCalculation(self, *args, **kwargs)

GrantCLRCalculation(id, created_on, modified_on, latest, grant, grantclr, clr_prediction_curve)

clr_prediction_curve

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

_method

GrantCLRCalculation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantCLRCalculation._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantCLRCalculation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantCLRCalculation._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

grant

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.

grant_id

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

grantclr

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.

grantclr_id

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

id

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

latest

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

GrantBrandingRoutingPolicy

GrantBrandingRoutingPolicy(self, *args, **kwargs)

This manages the background that would be put on a grant page (or grant CLR based on a regex matching in the URL)

For a grant, there are several models and views that handle different kinds of grants, CLRs and categories. This routing policy model sits in the middle and handles the banner and background image of specific sub-url group

background_image

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

banner_image

Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.

_method

GrantBrandingRoutingPolicy._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)

_method

GrantBrandingRoutingPolicy._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)

_method

GrantBrandingRoutingPolicy._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)

_method

GrantBrandingRoutingPolicy._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)

id

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

inline_css

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

policy_name

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

priority

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

url_pattern

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