dashboard.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/.
Bounty_interested
Bounty_interested(self, *args, **kwargs)
Bounty_interested(id, bounty, interest)
bounty
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.
bounty_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.
interest
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.
interest_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountyInvites_bounty
BountyInvites_bounty(self, *args, **kwargs)
BountyInvites_bounty(id, bountyinvites, bounty)
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bountyinvites
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.
bountyinvites_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.
BountyInvites_invitee
BountyInvites_invitee(self, *args, **kwargs)
BountyInvites_invitee(id, bountyinvites, user)
bountyinvites
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.
bountyinvites_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.
user
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.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountyInvites_inviter
BountyInvites_inviter(self, *args, **kwargs)
BountyInvites_inviter(id, bountyinvites, user)
bountyinvites
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.
bountyinvites_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.
user
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.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
HackathonEvent_sponsor_profiles
HackathonEvent_sponsor_profiles(self, *args, **kwargs)
HackathonEvent_sponsor_profiles(id, hackathonevent, profile)
hackathonevent
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.
hackathonevent_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.
HackathonProject_profiles
HackathonProject_profiles(self, *args, **kwargs)
HackathonProject_profiles(id, hackathonproject, profile)
hackathonproject
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.
hackathonproject_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.
Organization_groups
Organization_groups(self, *args, **kwargs)
Organization_groups(id, organization, group)
group
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.
group_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.
organization
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.
organization_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Organization_repos
Organization_repos(self, *args, **kwargs)
Organization_repos(id, organization, repo)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
organization
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.
organization_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
repo
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.
repo_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Poll_hackathon
Poll_hackathon(self, *args, **kwargs)
Poll_hackathon(id, poll, hackathonevent)
hackathonevent
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.
hackathonevent_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.
poll
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.
poll_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Profile_ignore_tribes
Profile_ignore_tribes(self, *args, **kwargs)
Profile_ignore_tribes(id, from_profile, to_profile)
from_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.
from_profile_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.
to_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.
to_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Profile_organizations_fk
Profile_organizations_fk(self, *args, **kwargs)
Profile_organizations_fk(id, from_profile, to_profile)
from_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.
from_profile_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.
to_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.
to_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Profile_profile_organizations
Profile_profile_organizations(self, *args, **kwargs)
Profile_profile_organizations(id, profile, organization)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
organization
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.
organization_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.
Profile_repos
Profile_repos(self, *args, **kwargs)
Profile_repos(id, profile, repo)
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.
repo
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.
repo_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Tool_votes
Tool_votes(self, *args, **kwargs)
Tool_votes(id, tool, toolvote)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tool
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.
tool_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
toolvote
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.
toolvote_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountyQuerySet
BountyQuerySet(self, model=None, query=None, using=None, hints=None)
Handle the manager queryset for Bounties.
current
BountyQuerySet.current(self)
Filter results down to current bounties only.
stats_eligible
BountyQuerySet.stats_eligible(self)
Exclude results that we don't want to track in statistics.
exclude_by_status
BountyQuerySet.exclude_by_status(self, excluded_statuses=None)
Exclude results with a status matching the provided list.
filter_by_status
BountyQuerySet.filter_by_status(self, filtered_status=None)
Filter results with a status matching the provided list.
keyword
BountyQuerySet.keyword(self, keyword)
Filter results to all Bounty objects containing the keywords.
Args: keyword (str): The keyword to search title, issue description, and issue keywords by.
Returns: dashboard.models.BountyQuerySet: The QuerySet of bounties filtered by keyword.
hidden
BountyQuerySet.hidden(self)
Filter results to only bounties that have been manually hidden by moderators.
visible
BountyQuerySet.visible(self)
Filter results to only bounties not marked as hidden.
needs_review
BountyQuerySet.needs_review(self)
Filter results by bounties that need reviewed.
reviewed
BountyQuerySet.reviewed(self)
Filter results by bounties that have been reviewed.
has_applicant
BountyQuerySet.has_applicant(self)
Filter results by bounties that have applicants.
warned
BountyQuerySet.warned(self)
Filter results by bounties that have been warned for inactivity.
escalated
BountyQuerySet.escalated(self)
Filter results by bounties that have been escalated for review.
closed
BountyQuerySet.closed(self)
Filter results by bounties that have been closed on Github.
not_started
BountyQuerySet.not_started(self)
Filter results by bounties that have not been picked up in 3+ days.
has_funds
BountyQuerySet.has_funds(self)
Filter results by bounties that are actively funded or funds have been dispersed.
Bounty
Bounty(self, *args, **kwargs)
Define the structure of a Bounty.
Attributes: BOUNTY_TYPES (list of tuples): The valid bounty types. EXPERIENCE_LEVELS (list of tuples): The valid experience levels. PROJECT_LENGTHS (list of tuples): The possible project lengths. STATUS_CHOICES (list of tuples): The valid status stages. FUNDED_STATUSES (list of str): The list of status types considered to have retained value. OPEN_STATUSES (list of str): The list of status types considered open. CLOSED_STATUSES (list of str): The list of status types considered closed. TERMINAL_STATUSES (list of str): The list of status types considered terminal states.
accepted
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.
additional_funding_summary
Return a dict describing the additional funding from crowdfunding that this object has
admin_mark_as_remarket_ready
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
admin_override_and_hide
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
admin_override_org_logo
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
admin_override_org_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
admin_override_suspend_auto_approval
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
attached_job_description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
balance
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BOUNTY_CATEGORIES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
bounty_categories
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_owner_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_owner_email
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_owner_github_username
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_owner_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_owner_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.
bounty_owner_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_reserved_for_user
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.
bounty_reserved_for_user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_state
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BOUNTY_STATES
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.
bounty_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BOUNTY_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.
bountyinvites
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.
bulk_payout_tips
Return the Bulk payout tips associated with this bounty.
canceled_bounty_reason
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
canceled_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
chat_channel_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
CLOSED_STATUSES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
contract_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
coupon_code
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.
coupon_code_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
current_bounty
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
escalated
Filter results by bounties that have been escalated for review.
estimated_hours
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
event
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.
EVENT_HANDLERS
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
event_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
events
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.
experience_level
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
EXPERIENCE_LEVELS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
expires_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
featuring_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fee_amount
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fee_tx_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
feedbacks
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.
fulfillment_accepted_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfillment_started_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfillment_submitted_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfillments
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.
FUNDED_STATUSES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
funder_last_messaged_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
funding_organisation
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: bounty_state>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: bounty_type>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: experience_level>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: idx_status>)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: expires_date>, is_next=True, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: web3_created>, is_next=True, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: permission_type>)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: expires_date>, is_next=False, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.DateTimeField: web3_created>, is_next=False, **kwargs)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: project_length>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: project_type>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: repo_type>)
_method
Bounty._method(self, *, field=<django.db.models.fields.CharField: web3_type>)
github_comments
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
github_issue_details
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
github_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
has_applicant
Filter results by bounties that have applicants.
hyper_next_publication
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hypercharge_mode
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.
idx_experience_level
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
idx_project_length
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
idx_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
interested
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.
interested_comment
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_featured
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_legacy
Determine if the Bounty is legacy based on sunset date.
Todo: * Remove this method following legacy bounty sunsetting.
Returns: bool: Whether or not the Bounty is using the legacy contract.
is_open
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_project_type_fulfilled
Determine whether or not the Project Type is currently fulfilled.
Todo: * Add remaining Project Type fulfillment handling.
Returns: bool: Whether or not the Bounty Project Type is fully staffed.
issue_description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_comment_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_remarketed
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
match_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.
metadata
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.
now
Return the time now in the current timezone.
num_fulfillments
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
OPEN_STATUSES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
org
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.
org_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
override_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
paid
Return list of users paid for this bounty.
past_expiration_date
Return true IFF issue is past expiration date
past_hard_expiration_date
Return true IFF issue is past smart contract expiration date and therefore cannot ever be claimed again
permission_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PERMISSION_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.
privacy_preferences
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
project_bounty
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_length
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PROJECT_LENGTHS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
project_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PROJECT_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.
raw_data
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
remarketed_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
repo_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
REPO_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.
reserved_for_user_expiration
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
reserved_for_user_from
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
snooze_warnings_for_days
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
standard_bounties_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
status
Determine the status of the Bounty.
Raises: Exception: Catch whether or not any exception is encountered and return unknown for status.
Returns: str: The status of the Bounty.
STATUS_CHOICES
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.
submissions_comment
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TERMINAL_STATUSES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
tips
Return the tips associated with this bounty.
title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
title_or_desc
Return the title of the issue.
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_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_value_in_usdt
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_value_time_peg
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_in_eth
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_in_token
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_in_usdt
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_in_usdt_now
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_true
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
warned
Filter results by bounties that have been warned for inactivity.
web3_created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
web3_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
WEB3_TYPES
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.
WORK_IN_PROGRESS_STATUSES
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
save
Bounty.save(self, *args, **kwargs)
Define custom handling for saving bounties.
handle_event
Bounty.handle_event(self, event)
Handle a new BountyEvent, and potentially change state
get_absolute_url
Bounty.get_absolute_url(self)
Get the absolute URL for the Bounty.
Returns: str: The absolute URL for the Bounty.
get_relative_url
Bounty.get_relative_url(self, preceding_slash=True)
Get the relative URL for the Bounty.
Attributes: preceding_slash (bool): Whether or not to include a preceding slash.
Returns: str: The relative URL for the Bounty.
get_canonical_url
Bounty.get_canonical_url(self)
Get the canonical URL of the Bounty for SEO purposes.
Returns: str: The canonical URL of the Bounty.
snooze_url
Bounty.snooze_url(self, num_days)
Get the bounty snooze URL.
Args: num_days (int): The number of days to snooze the Bounty.
Returns: str: The snooze URL based on the provided number of days.
approve_worker_url
Bounty.approve_worker_url(self, worker)
Get the bounty work approval URL.
Args: worker (string): The handle to approve
Returns: str: The work approve URL based on the worker name
reject_worker_url
Bounty.reject_worker_url(self, worker)
Get the bounty work rejection URL.
Args: worker (string): The handle to reject
Returns: str: The work reject URL based on the worker name
is_hunter
Bounty.is_hunter(self, handle)
Determine whether or not the profile is the bounty hunter.
Args: handle (str): The profile handle to be compared.
Returns: bool: Whether or not the user is the bounty hunter.
is_fulfiller
Bounty.is_fulfiller(self, handle)
Determine whether or not the profile is the bounty is_fulfiller.
Args: handle (str): The profile handle to be compared.
Returns: bool: Whether or not the user is the bounty is_fulfiller.
is_funder
Bounty.is_funder(self, handle)
Determine whether or not the profile is the bounty funder.
Args: handle (str): The profile handle to be compared.
Returns: bool: Whether or not the user is the bounty funder.
has_started_work
Bounty.has_started_work(self, handle, pending=False)
Determine whether or not the profile has started work
Args: handle (str): The profile handle to be compared.
Returns: bool: Whether or not the user has started work.
get_avatar_url
Bounty.get_avatar_url(self, gitcoin_logo_flag=False)
Return the local avatar URL.
get_github_api_url
Bounty.get_github_api_url(self)
Get the Github API URL associated with the bounty.
Returns: str: The Github API URL associated with the issue.
fetch_issue_item
Bounty.fetch_issue_item(self, item_type='body')
Fetch the item type of an issue.
Args: type (str): The github API response body item to be fetched.
Returns: str: The item content.
fetch_issue_comments
Bounty.fetch_issue_comments(self, save=True)
Fetch issue comments for the associated Github issue.
Args: save (bool): Whether or not to save the Bounty after fetching.
Returns: dict: The comments data dictionary provided by Github.
action_urls
Bounty.action_urls(self)
Provide URLs for bounty related actions.
Returns: dict: A dictionary of action URLS for this bounty.
is_notification_eligible
Bounty.is_notification_eligible(self, var_to_check=True)
Determine whether or not a notification is eligible for transmission outside of production.
Returns: bool: Whether or not the Bounty is eligible for outbound notifications.
BountyEvent
BountyEvent(self, *args, **kwargs)
An Event taken by a user, which may change the state of a Bounty
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
created_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.
created_by_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
event_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
EVENT_TYPES
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.
_method
BountyEvent._method(self, *, field=<django.db.models.fields.CharField: event_type>)
_method
BountyEvent._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BountyEvent._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BountyEvent._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BountyEvent._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.
metadata
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountyFulfillment
BountyFulfillment(self, *args, **kwargs)
The structure of a fulfillment on a Bounty.
accepted
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
accepted_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfiller_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfiller_github_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfiller_hours_worked
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfiller_identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfiller_metadata
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfillment_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
funder_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
funder_identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
funder_last_notified_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
funder_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.
funder_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.CharField: payout_status>)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.CharField: payout_type>)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
BountyFulfillment._method(self, *, field=<django.db.models.fields.CharField: tenant>)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
payout_amount
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PAYOUT_STATUS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
payout_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
payout_tx_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PAYOUT_TYPE
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
payout_type
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.
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_id
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.
to_json
Define the JSON representation of BountyFulfillment.
Returns: dict: A JSON representation of BountyFulfillment.
token_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountySyncRequest
BountySyncRequest(self, *args, **kwargs)
Define the structure for bounty syncing.
_method
BountySyncRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BountySyncRequest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BountySyncRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BountySyncRequest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
github_url
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.
Subscription
Subscription(self, *args, **kwargs)
Subscription(id, created_on, modified_on, email, raw_data, ip)
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: modified_on>, 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: 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.
ip
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
raw_data
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
SendCryptoAssetQuerySet
SendCryptoAssetQuerySet(self, model=None, query=None, using=None, hints=None)
Handle the manager queryset for SendCryptoAsset.
send_success
SendCryptoAssetQuerySet.send_success(self)
Filter results down to successful sends only.
not_submitted
SendCryptoAssetQuerySet.not_submitted(self)
Filter results down to not submitted results only.
send_pending
SendCryptoAssetQuerySet.send_pending(self)
Filter results down to pending sends only.
send_happy_path
SendCryptoAssetQuerySet.send_happy_path(self)
Filter results down to pending/success sends only.
send_fail
SendCryptoAssetQuerySet.send_fail(self)
Filter results down to failed sends only.
receive_success
SendCryptoAssetQuerySet.receive_success(self)
Filter results down to successful receives only.
receive_pending
SendCryptoAssetQuerySet.receive_pending(self)
Filter results down to pending receives only.
receive_happy_path
SendCryptoAssetQuerySet.receive_happy_path(self)
Filter results down to pending receives only.
receive_fail
SendCryptoAssetQuerySet.receive_fail(self)
Filter results down to failed receives only.
SendCryptoAsset
SendCryptoAsset(self, *args, **kwargs)
Abstract Base Class to handle the model for both Tips and Kudos.
amount
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
comments_public
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
emails
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.
from_email
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
from_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
from_username
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.CharField: receive_tx_status>)
_method
SendCryptoAsset._method(self, *, field=<django.db.models.fields.CharField: tx_status>)
github_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ip
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_for_bounty_fulfiller
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.
network
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
primary_email
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
receive_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
receive_tx_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
receive_tx_time
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
receive_txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
received_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tokenAddress
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tokenName
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tx_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TX_STATUS_CHOICES
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.
tx_time
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
username
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_in_usdt
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
web3_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Meta
SendCryptoAsset.Meta(self, /, *args, **kwargs)
is_notification_eligible
SendCryptoAsset.is_notification_eligible(self, var_to_check=True)
Determine whether or not a notification is eligible for transmission outside of production.
Returns: bool: Whether or not the Tip is eligible for outbound notifications.
update_tx_status
SendCryptoAsset.update_tx_status(self)
Updates the tx status according to what infura says about the tx
update_receive_tx_status
SendCryptoAsset.update_receive_tx_status(self)
Updates the receive tx status according to what infura says about the receive tx
Tip
Tip(self, *args, **kwargs)
Inherit from SendCryptoAsset base class, and extra fields that are needed for Tips.
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.
awards
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.
comments_priv
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
expires_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fundrequest
Accessor to the related object on the reverse side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is a ReverseOneToOneDescriptor
instance.
_method
Tip._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Tip._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Tip._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Tip._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.
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.
quests_reward_token
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.
recipient_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.
recipient_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sender_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.
sender_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TipPayout
TipPayout(self, *args, **kwargs)
Model representing redemption of a Kudos
_method
TipPayout._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
TipPayout._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
TipPayout._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
TipPayout._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.
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.
tip
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.
tip_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
FundRequest
FundRequest(self, *args, **kwargs)
FundRequest(id, modified_on, profile, requester, token_name, amount, comments, tip, network, address, created_on)
address
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.
comments
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
FundRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
FundRequest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
FundRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
FundRequest._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.
requester
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.
requester_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tip
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
tip_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
InterestQuerySet
InterestQuerySet(self, model=None, query=None, using=None, hints=None)
Handle the manager queryset for Interests.
needs_review
InterestQuerySet.needs_review(self)
Filter results to Interest objects requiring review by moderators.
warned
InterestQuerySet.warned(self)
Filter results to Interest objects that are currently in warning.
Interest
Interest(self, *args, **kwargs)
Define relationship for profiles expressing interest on a bounty.
acceptance_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_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.
created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Interest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Interest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Interest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Interest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
Interest._method(self, *, field=<django.db.models.fields.CharField: status>)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
issue_message
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
pending
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.
status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
STATUS_OKAY
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
STATUS_PENDING
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
STATUS_REVIEW
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
STATUS_SNOOZED
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
STATUS_WARNED
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
WORK_STATUSES
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.
mark_for_review
Interest.mark_for_review(self)
Flag the Interest for review by the moderation team.
ActivityQuerySet
ActivityQuerySet(self, model=None, query=None, using=None, hints=None)
Handle the manager queryset for Activities.
needs_review
ActivityQuerySet.needs_review(self)
Filter results to Activity objects to be reviewed by moderators.
reviewed
ActivityQuerySet.reviewed(self)
Filter results to Activity objects to be reviewed by moderators.
warned
ActivityQuerySet.warned(self)
Filter results to Activity objects to be reviewed by moderators.
escalated_for_removal
ActivityQuerySet.escalated_for_removal(self)
Filter results to Activity objects to be reviewed by moderators.
related_to
ActivityQuerySet.related_to(self, profile)
Filter results to Activity objects which are related to a particular profile.
Activities related to a Profile can be defined as: - Posts created by that user - Posts that the user likes (even a comment) - Posts tipped by that user (even a comment) - Posts the user commented on
ActivityIndex
ActivityIndex(self, *args, **kwargs)
All Activity Reads happen from this table
activity
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.
activity_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
ActivityIndex._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ActivityIndex._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ActivityIndex._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ActivityIndex._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.
Activity
Activity(self, *args, **kwargs)
Represent Start work/Stop work event.
Attributes: ACTIVITY_TYPES (list of tuples): The valid activity types.
activities_index
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.
activity_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ACTIVITY_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.
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
cached_view_props
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
comments
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.
created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
favorite_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.
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.
_method
Activity._method(self, *, field=<django.db.models.fields.CharField: activity_type>)
_method
Activity._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Activity._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Activity._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Activity._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.
hackathonevent
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.
hackathonevent_id
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.
humanized_activity_type
Turn snake_case into Snake Case.
Returns: str: The humanized nameactivity_type
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
kudos
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.
kudos_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
kudos_transfer
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.
kudos_transfer_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
likes
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.
metadata
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
needs_review
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
other_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.
other_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
pin
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.
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.
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_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.
tip
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.
tip_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
view_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
point_value
Activity.point_value(self)
Returns: int the Point value of this activity
to_dict
Activity.to_dict(self, fields=None, exclude=None)
Define the standard to dict representation of the object.
Args: fields (list): The list of fields to include. If not provided, include all fields. If not provided, all fields are included. Defaults to: None. exclude (list): The list of fields to exclude. If not provided, no fields are excluded. Default to: None.
Returns: dict: The dictionary representation of the object.
LabsResearch
LabsResearch(self, *args, **kwargs)
Define the structure of Labs Research object.
description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
LabsResearch._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
LabsResearch._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
LabsResearch._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
LabsResearch._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.
image
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
link
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.
upcoming
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
UserVerificationModel
UserVerificationModel(self, *args, **kwargs)
Define the checkboxes for user verification.
bug_free_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
completed_x_bounties
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
UserVerificationModel._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
UserVerificationModel._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
UserVerificationModel._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
UserVerificationModel._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
great_communication
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.
speedy_and_responsive
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
user
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BountyInvites
BountyInvites(self, *args, **kwargs)
Define the structure of bounty invites.
bounty
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.
get_bounty_invite_url
Returns a unique url for each bounty and one who is inviting
Returns: A unique string for each bounty
_method
BountyInvites._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BountyInvites._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BountyInvites._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BountyInvites._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
BountyInvites._method(self, *, field=<django.db.models.fields.CharField: status>)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
INVITE_STATUS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
invitee
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.
inviter
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.
status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ProfileQuerySet
ProfileQuerySet(self, model=None, query=None, using=None, hints=None)
Define the Profile QuerySet to be used as the objects manager.
slim
ProfileQuerySet.slim(self)
Filter slims down whats returned from the DB to not include large fields.
visible
ProfileQuerySet.visible(self)
Filter results to only visible profiles.
hidden
ProfileQuerySet.hidden(self)
Filter results to only hidden profiles.
Repo
Repo(self, *args, **kwargs)
Repo(id, created_on, modified_on, name)
_method
Repo._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Repo._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Repo._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Repo._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.
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
organization_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.
profile_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.
Organization
Organization(self, *args, **kwargs)
Organization(id, created_on, modified_on, name)
_method
Organization._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Organization._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Organization._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Organization._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
groups
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.
profile_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.
repos
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.
BlockedURLFilter
BlockedURLFilter(self, *args, **kwargs)
BlockedURLFilter(id, created_on, modified_on, expression, comment)
comment
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
expression
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
BlockedURLFilter._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BlockedURLFilter._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BlockedURLFilter._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BlockedURLFilter._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.
HackathonRegistration
HackathonRegistration(self, *args, **kwargs)
Defines the Hackthon profiles registrations
_method
HackathonRegistration._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
HackathonRegistration._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
HackathonRegistration._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
HackathonRegistration._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
hackathon
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.
hackathon_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.
looking_project
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
looking_team_members
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.
referer
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
registrant
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.
registrant_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TribesSubscription
TribesSubscription(self, *args, **kwargs)
TribesSubscription(id, created_on, modified_on, expires_on, tribe, plan_type, hackathon_tokens)
expires_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
TribesSubscription._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
TribesSubscription._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
TribesSubscription._method(self, *, field=<django.db.models.fields.CharField: plan_type>)
_method
TribesSubscription._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
TribesSubscription._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
hackathon_tokens
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.
plan_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
plans
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.
tribe
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.
tribe_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Profile
Profile(self, *args, **kwargs)
Define the structure of the user profile.
TODO: * Remove all duplicate identity related information already stored on User.
access_token
The Github access token associated with this Profile.
Returns: str: The associated Github access token.
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.
actions_count
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.
activity_level
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
admin_override_avatar
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
admin_override_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
alumni
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.
anonymize_gitcoin_grants_contributions
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
as_dict
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
as_representation
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
automatic_backup
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
avatar_baseavatar_related
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.
average_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
avg_hourly_rate
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bio
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounties_funded
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.
bountyfulfillment_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.
brightid_uuid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bulk_transfer_redemptions
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.
bulk_transfers
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.
cart_activity
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.
chat_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
clr_pledges
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.
comments
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.
completed_bounties
Returns bounties completed by user
Returns: number: number of bounties completed
contact_email
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
curator
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.
custom_tagline
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.
dominant_persona
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.
dont_autofollow_earnings
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
earnings
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.
earnings_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
email_index
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
email_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.
encoded_number
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ens_verification_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
etc_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
events
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.
facebook_user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fee_percentage
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
feedbacks_got
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.
feedbacks_sent
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.
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.
follower
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.
follower_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
following_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
form_submission_records
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fulfilled
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
Profile._method(self, *, field=<django.db.models.fields.CharField: dominant_persona>)
_method
Profile._method(self, *, field=<django.db.models.fields.CharField: job_search_status>)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: last_calc_date>, is_next=True, **kwargs)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Profile._method(self, *, field=<django.db.models.fields.CharField: pref_lang_code>)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: last_calc_date>, is_next=False, **kwargs)
_method
Profile._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
get_quarterly_stats
Generate last 90 days stats for this user.
Returns: dict : containing the following information 'user_total_earned_eth': Total earnings of user in ETH. 'user_total_earned_usd': Total earnings of user in USD. 'user_total_funded_usd': Total value of bounties funded by the user on bounties in done status in USD 'user_total_funded_hours': Total hours input by the developers on the fulfillment of bounties created by the user in USD 'user_fulfilled_bounties_count': Total bounties fulfilled by user 'user_fufilled_bounties': bool, if the user fulfilled bounties 'user_funded_bounties_count': Total bounties funded by the user 'user_funded_bounties': bool, if the user funded bounties in the last quarter 'user_funded_bounty_developers': Unique set of users that fulfilled bounties funded by the user 'user_avg_hours_per_funded_bounty': Average hours input by developer on fulfillment per bounty 'user_avg_hourly_rate_per_funded_bounty': Average hourly rate in dollars per bounty funded by user 'user_avg_eth_earned_per_bounty': Average earning in ETH earned by user per bounty 'user_avg_usd_earned_per_bounty': Average earning in USD earned by user per bounty 'user_num_completed_bounties': Total no. of bounties completed. 'user_num_funded_fulfilled_bounties': Total bounites that were funded by the user and fulfilled 'user_bounty_completion_percentage': Percentage of bounties successfully completed by the user 'user_funded_fulfilled_percentage': Percentage of bounties funded by the user that were fulfilled 'user_active_in_last_quarter': bool, if the user was active in last quarter 'user_no_of_languages': No of languages user used while working on bounties. 'user_languages': Languages that were used in bounties that were worked on. 'relevant_bounties': a list of Bounty(s) that would match the skillset input by the user into the Match tab of their settings
_method
Profile._method(self, *, field=<django.db.models.fields.CharField: selected_persona>)
gitcoin_chat_access_token
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
github_access_token
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
github_events
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.
google_user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
grant_apikey
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_contributor
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_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.
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_teams
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.
grantclr_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.
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.
grantflags
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.
granthalloffamegrantee_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.
grants
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.
hackathon_registration
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.
hackathonevent_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.
handle
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hide_profile
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hide_wallet_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hide_wallet_address_anonymized
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.
idena_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
idena_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
identity_data_facebook
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
identity_data_google
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ignore
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.
ignore_tribes
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.
interested
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.
interests
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
investigations
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.
is_alpha_tester
Determine whether or not the user is an alpha tester.
Returns: bool: Whether or not the user is an alpha tester.
is_brightid_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_duniter_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_ens_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_facebook_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_google_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_idena_connected
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_idena_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_moderator
Determine whether or not the user is a moderator.
Returns: bool: Whether or not the user is a moderator.
is_org
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_poap_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_poh_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_pro
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_staff
Determine whether or not the user is a staff member.
Returns: bool: Whether or not the user is a member of the staff.
is_tribe
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
is_twitter_verified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
job_location
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
job_salary
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
JOB_SEARCH_STATUS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
job_search_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
job_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
keywords
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
kudos_wallets
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.
last_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_observed_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_sync_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_validation_request
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_visit
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
leaderboard_ranks
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.
likes
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.
linkedin_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
location
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
longest_streak
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
match_rankings
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.
matchPledges
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.
mautic_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
max_num_issues_start_work
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
max_tip_amount_usdt_per_tx
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
max_tip_amount_usdt_per_week
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
num_repeated_relationships
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
offeractions
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.
offers_created
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.
org
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.
org_earnings
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.
organizations
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
organizations_fk
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.
orgs_bounties
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.
other_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.
override_dict
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
passport_requests
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.
persona_is_funder
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
persona_is_hunter
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PERSONAS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
pins
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.
poap_owner_account
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
poh_handle
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
portfolio_items
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.
pref_do_not_track
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
pref_lang_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
preferred_kudos_wallet
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
preferred_kudos_wallet_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
preferred_payout_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
products_choose
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
profile_organizations
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.
profile_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.
profile_wallpaper
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
project_profiles
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.
quest_attempts
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.
quest_feedback
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.
questpointawards
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.
quests_created
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.
rank_coder
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
rank_funder
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
rank_org
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
received_kudos
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.
received_tips
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.
referred
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.
referrer
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.
referrer_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
reliability
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
remote
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
repos
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.
requests_receiver
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.
requests_sender
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.
reserved_bounties
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.
resume
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)
search_results_visible
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.
selected_persona
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sent_earnings
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.
sent_kudos
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.
sent_tips
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.
show_job_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
slack_channel
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
slack_repos
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
slack_token
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sms_verification
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
spent_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sponsor_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.
squelches
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.
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.
subscription
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.
success_rate
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
suppress_leaderboard
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sybil_score
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tip_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.
token_approvals
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.
token_requests
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.
transfers_enabled
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.
tribe_description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tribes_cover_image
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
trust_bonus
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
trust_profile
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
twitter_handle
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
user
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
validation_attempts
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
verifications
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.
viewed_by
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.
viewed_profiles
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.
votes
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.
workshop_speaker
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.
get_average_star_rating
Profile.get_average_star_rating(self, scale=1)
Returns the average star ratings (overall and individual topic) for a particular user
calc_activity_level
Profile.calc_activity_level(self)
Determines the activity level of a user
Returns: str: High, Low, Medium, or New
calc_longest_streak
Profile.calc_longest_streak(self)
Determines the longest streak, in workdays, of this user
Returns: int: a number of weekdays
calc_num_repeated_relationships
Profile.calc_num_repeated_relationships(self)
the number of repeat relationships that this user has created
Returns: int: a number of repeat relationships
calc_avg_hourly_rate
Profile.calc_avg_hourly_rate(self)
Returns: float: the average hourly rate for this user in dollars
calc_success_rate
Profile.calc_success_rate(self)
Returns: int; the success percentage for this users bounties as a positive integer.
calc_reliability_ranking
Profile.calc_reliability_ranking(self)
Returns: the reliabiliyt ranking that the user has.
get_access_token
Profile.get_access_token(self, save=False)
Get the Github access token from User.
Args: save (bool): Whether or not to save the User access token to the profile.
Raises: Exception: The exception is raised in the event of any error and returns an empty string.
Returns: str: The Github access token.
get_slack_repos
Profile.get_slack_repos(self, join=False)
Get the profile's slack tracked repositories.
Args: join (bool): Whether or not to return a joined string representation. Defaults to: False.
Returns: list of str: If joined is False, a list of slack repositories. str: If joined is True, a combined string of slack repositories.
update_slack_integration
Profile.update_slack_integration(self, token, channel, repos)
Update the profile's slack integration settings.
Args: token (str): The profile's slack token. channel (str): The profile's slack channel. repos (list of str): The profile's github repositories to track.
get_sum
Profile.get_sum(self, sum_type='collected', network='mainnet', bounties=None, currency='usd')
Get the sum of collected or funded ETH or USD based on the provided type.
Args: sum_type (str): The sum to lookup. Defaults to: collected. network (str): The network to query results for. Defaults to: mainnet. bounties (dashboard.models.BountyQuerySet): Override the BountyQuerySet this function processes. Defaults to: None. currency (str): The currency to get sum in. Either ETH or USD
Returns: float: The total sum of all ETH or USD of the provided type.
get_all_tokens_sum
Profile.get_all_tokens_sum(self, sum_type='collected', network='mainnet', bounties=None)
Get the sum of collected or funded tokens based on the provided type.
Args: sum_type (str): The sum to lookup. Defaults to: collected. network (str): The network to query results for. Defaults to: mainnet. bounties (dashboard.models.BountyQuerySet): Override the BountyQuerySet this function processes. Defaults to: None.
Returns: query: Grouped query by token_name and sum all token value
get_who_works_with
Profile.get_who_works_with(self, work_type='collected', network='mainnet', bounties=None)
Get an array of profiles that this user works with.
Args: work_type (str): The work type to lookup. Defaults to: collected. network (str): The network to query results for. Defaults to: mainnet. bounties (dashboard.models.BountyQuerySet): Override the BountyQuerySet this function processes. Defaults to: None.
Returns: dict: list of the profiles that were worked with (key) and the number of times they occurred
get_funded_bounties
Profile.get_funded_bounties(self, network='mainnet')
Get the bounties that this user has funded
Args: network (string): the network to look at. Defaults to: mainnet.
Returns: queryset: list of bounties
get_various_activities
Profile.get_various_activities(self)
Get bounty, tip and grant related activities for this profile.
Args: network (str): The network to query results for. Defaults to: mainnet.
Returns: (dashboard.models.ActivityQuerySet): The query results.
to_dict
Profile.to_dict(self)
Get the dictionary representation with additional data.
Attributes: params (dict): The context dictionary to be returned. network (str): The bounty network to operate on. query_kwargs (dict): The kwargs to be passed to all queries throughout the method. bounties (dashboard.models.BountyQuerySet): All bounties referencing this profile. fulfilled_bounties (dashboard.models.BountyQuerySet): All fulfilled bounties for this profile. funded_bounties (dashboard.models.BountyQuerySet): All funded bounties for this profile. orgs_bounties (dashboard.models.BountyQuerySet or None): All bounties belonging to this organization, if applicable. sum_eth_funded (float): The total amount of ETH funded. sum_eth_collected (float): The total amount of ETH collected.
Returns: dict: The profile card context.
post_login
post_login(sender, request, user, **kwargs)
Handle actions to take on user login.
post_logout
post_logout(sender, request, user, **kwargs)
Handle actions to take on user logout.
UserDirectoryQuerySet
UserDirectoryQuerySet(self, model=None, query=None, using=None, hints=None)
Define the Profile QuerySet to be used as the objects manager.
UserDirectory
UserDirectory(self, *args, **kwargs)
UserDirectory(profile_id, join_date, github_created_at, first_name, last_name, email, handle, sms_verification, persona, rank_coder, rank_funder, num_hacks_joined, which_hacks_joined, hack_work_starts, hack_work_submits, hack_work_start_orgs, hack_work_submit_orgs, bounty_work_starts, bounty_work_submits, hack_started_feature, hack_started_code_review, hack_started_security, hack_started_design, hack_started_documentation, hack_started_bug, hack_started_other, hack_started_improvement, started_feature, started_code_review, started_security, started_design, started_documentation, started_bug, started_other, started_improvement, submitted_feature, submitted_code_review, submitted_security, submitted_design, submitted_documentation, submitted_bug, submitted_other, submitted_improvement, bounty_earnings, bounty_work_start_orgs, bounty_work_submit_orgs, kudos_sends, kudos_receives, hack_winner_kudos_received, grants_opened, grant_contributed, grant_contributions, grant_contribution_amount, num_actions, action_points, avg_points_per_action, last_action_on, keywords, activity_level, reliability, average_rating, longest_streak, earnings_count, follower_count, following_count, num_repeated_relationships, verification_status)
action_points
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
activity_level
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
average_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
avg_points_per_action
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_earnings
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_work_start_orgs
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_work_starts
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_work_submit_orgs
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty_work_submits
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
earnings_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
first_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
follower_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
following_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
github_created_at
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
grant_contributed
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
grant_contribution_amount
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
grant_contributions
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
grants_opened
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_bug
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_code_review
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_design
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_documentation
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_feature
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_improvement
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_other
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_started_security
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_winner_kudos_received
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_work_start_orgs
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_work_starts
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_work_submit_orgs
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hack_work_submits
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
handle
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
join_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
keywords
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
kudos_receives
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
kudos_sends
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_action_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
last_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
longest_streak
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
num_actions
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
num_hacks_joined
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
num_repeated_relationships
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
persona
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
rank_coder
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
rank_funder
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
reliability
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sms_verification
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_bug
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_code_review
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_design
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_documentation
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_feature
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_improvement
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_other
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
started_security
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_bug
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_code_review
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_design
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_documentation
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_feature
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_improvement
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_other
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submitted_security
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
verification_status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
which_hacks_joined
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ProfileSerializer
ProfileSerializer(self, instance=None, data=<class 'rest_framework.fields.empty'>, **kwargs)
Handle serializing the Profile object.
Meta
ProfileSerializer.Meta(self, /, *args, **kwargs)
Define the profile serializer metadata.
to_representation
ProfileSerializer.to_representation(self, instance)
Provide the serialized representation of the Profile.
Args: instance (Profile): The Profile object to be serialized.
Returns: dict: The serialized Profile.
normalize_tip_usernames
normalize_tip_usernames(sender, instance, **kwargs)
Handle pre-save signals from Tips to normalize Github usernames.
UserAction
UserAction(self, *args, **kwargs)
Records Actions that a user has taken .
action
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ACTION_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.
_method
UserAction._method(self, *, field=<django.db.models.fields.CharField: action>)
_method
UserAction._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
UserAction._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
UserAction._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
UserAction._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.
ip_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
location_data
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.
user
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.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
utm
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
point_value
UserAction.point_value(self)
Returns: int the Point value of this user action
CoinRedemption
CoinRedemption(self, *args, **kwargs)
Define the coin redemption schema.
amount
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
coinredemptionrequest
Accessor to the related object on the reverse side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is a ReverseOneToOneDescriptor
instance.
contract_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
expires_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
CoinRedemption._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
CoinRedemption._method(self, *, field=<django.db.models.fields.DateTimeField: expires_date>, is_next=True, **kwargs)
_method
CoinRedemption._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
CoinRedemption._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
CoinRedemption._method(self, *, field=<django.db.models.fields.DateTimeField: expires_date>, is_next=False, **kwargs)
_method
CoinRedemption._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.
shortcode
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
to_checksum_address
to_checksum_address(sender, instance, **kwargs)
Handle pre-save signals from CoinRemptions to normalize the contract address.
CoinRedemptionRequest
CoinRedemptionRequest(self, *args, **kwargs)
Define the coin redemption request schema.
coin_redemption
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
coin_redemption_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
CoinRedemptionRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
CoinRedemptionRequest._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
CoinRedemptionRequest._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
CoinRedemptionRequest._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.
ip
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sent_on
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txaddress
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Tool
Tool(self, *args, **kwargs)
Define the Tool schema.
active
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
CAT_ADVANCED
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_ALPHA
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_BASIC
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_BUILD
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_COMING_SOON
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_COMMUNITY
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_FOR_FUN
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
CAT_RETIRED
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
category
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.
GAS_TOOLS
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to 'strict'.
_method
Tool._method(self, *, field=<django.db.models.fields.CharField: category>)
_method
Tool._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Tool._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Tool._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Tool._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.
img
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
link
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
link_copy
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.
new
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
stat_graph
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TOOL_CATEGORIES
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.
url_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
votes
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.
ToolVote
ToolVote(self, *args, **kwargs)
Define the vote placed on a tool.
_method
ToolVote._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ToolVote._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ToolVote._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ToolVote._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.
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.
tool_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.
value
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TokenApproval
TokenApproval(self, *args, **kwargs)
A token approval.
approved_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
approved_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
coinbase
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
TokenApproval._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
TokenApproval._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
TokenApproval._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
TokenApproval._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.
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_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tx
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
SearchHistory
SearchHistory(self, *args, **kwargs)
Define the structure of a Search History object.
data
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
SearchHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
SearchHistory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
SearchHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
SearchHistory._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.
ip_address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
search_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
user
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.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BlockedUser
BlockedUser(self, *args, **kwargs)
Define the structure of the BlockedUser.
active
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
BlockedUser._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BlockedUser._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BlockedUser._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BlockedUser._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
handle
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.
user
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is a ForwardOneToOneDescriptor
instance.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
BlockedIP
BlockedIP(self, *args, **kwargs)
Define the structure of the BlockedIP.
active
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
addr
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
BlockedIP._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
BlockedIP._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
BlockedIP._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
BlockedIP._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.
Sponsor
Sponsor(self, *args, **kwargs)
Defines the Hackthon Sponsor
_method
Sponsor._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Sponsor._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Sponsor._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Sponsor._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
hackathonevent_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.
hackathonsponsor_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.
logo
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)
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tribe
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.
tribe_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
HackathonEventQuerySet
HackathonEventQuerySet(self, model=None, query=None, using=None, hints=None)
Handle the manager queryset for HackathonEvents.
current
HackathonEventQuerySet.current(self)
Filter results down to current events only.
upcoming
HackathonEventQuerySet.upcoming(self)
Filter results down to upcoming events only.
finished
HackathonEventQuerySet.finished(self)
Filter results down to upcoming events only.
HackathonEvent
HackathonEvent(self, *args, **kwargs)
Defines the HackathonEvent model.
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.
answer_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.
background_color
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
banner
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
border_color
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounties
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.
calendar_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
chat_channel_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
default_channels
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.
display_showcase
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
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=True, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=True, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: end_date>, is_next=False, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
HackathonEvent._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=False, **kwargs)
hackathon_summary
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hackathonregistration_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.
hackathonsponsor_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.
identifier
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
logo
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.
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
poll_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.
project_event
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.
quest_link
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
short_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
show_results
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
showcase
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.
sponsor_profiles
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.
sponsors
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.
start_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
text_color
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
total_prize
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
unblocks_quest
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.
use_circle
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.
workshop_event
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.
get_absolute_url
HackathonEvent.get_absolute_url(self)
Get the absolute URL for the HackathonEvent.
Returns: str: The absolute URL for the HackathonEvent.
get_onboard_url
HackathonEvent.get_onboard_url(self)
Get the absolute URL for the HackathonEvent.
Returns: str: The absolute URL for the HackathonEvent.
save
HackathonEvent.save(self, *args, **kwargs)
Define custom handling for saving HackathonEvent.
HackathonSponsor
HackathonSponsor(self, *args, **kwargs)
HackathonSponsor(id, created_on, modified_on, hackathon, sponsor, sponsor_type, chat_channel_id)
chat_channel_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
HackathonSponsor._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
HackathonSponsor._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
HackathonSponsor._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
HackathonSponsor._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
HackathonSponsor._method(self, *, field=<django.db.models.fields.CharField: sponsor_type>)
hackathon
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.
hackathon_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.
sponsor
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.
sponsor_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sponsor_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
SPONSOR_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.
HackathonProject
HackathonProject(self, *args, **kwargs)
HackathonProject(id, created_on, modified_on, name, hackathon, logo, work_url, summary, bounty, badge, status, message, looking_members, chat_channel_id, winner, extra, categories, tech_stack, grant_obj)
badge
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
categories
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
chat_channel_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
extra
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
HackathonProject._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
HackathonProject._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
HackathonProject._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
HackathonProject._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
HackathonProject._method(self, *, field=<django.db.models.fields.CharField: status>)
grant_obj
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_obj_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hackathon
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.
hackathon_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hackathon_projects
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.
logo
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
looking_members
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
message
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.
profiles
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.
PROJECT_STATUS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
submissions
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.
summary
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
tech_stack
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
winner
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
work_url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
FeedbackEntry
FeedbackEntry(self, *args, **kwargs)
FeedbackEntry(id, created_on, modified_on, bounty, sender_profile, receiver_profile, rating, satisfaction_rating, communication_rating, speed_rating, code_quality_rating, recommendation_rating, comment, feedbackType, private)
bounty
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.
bounty_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
code_quality_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
comment
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
communication_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
feedbackType
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
FeedbackEntry._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
FeedbackEntry._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
FeedbackEntry._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
FeedbackEntry._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.
private
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
receiver_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.
receiver_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
recommendation_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
satisfaction_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
sender_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.
sender_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
speed_rating
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
visible_to
FeedbackEntry.visible_to(self, user)
Whether this user can see the feedback ornot
Coupon
Coupon(self, *args, **kwargs)
Coupon(id, created_on, modified_on, code, fee_percentage, expiry_date)
code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
coupon
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.
expiry_date
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
fee_percentage
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Coupon._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Coupon._method(self, *, field=<django.db.models.fields.DateField: expiry_date>, is_next=True, **kwargs)
_method
Coupon._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Coupon._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Coupon._method(self, *, field=<django.db.models.fields.DateField: expiry_date>, is_next=False, **kwargs)
_method
Coupon._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.
ProfileView
ProfileView(self, *args, **kwargs)
Records profileviews .
_method
ProfileView._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ProfileView._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ProfileView._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ProfileView._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.
target
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.
target_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
viewer
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.
viewer_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Earning
Earning(self, *args, **kwargs)
Records Earning - the generic object for all earnings on the platform .
from_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.
from_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Earning._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Earning._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Earning._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Earning._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
history
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.
network
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
org_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.
org_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
source
Provide a generic many-to-one relation through the content_type
and
object_id
fields.
This class also doubles as an accessor to the related object (similar to ForwardManyToOneDescriptor) by adding itself as a model attribute.
source_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
source_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.
source_type_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.
to_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.
to_profile_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
token_value
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
value_usd
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PortfolioItem
PortfolioItem(self, *args, **kwargs)
Define the structure of PortfolioItem object.
_method
PortfolioItem._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
PortfolioItem._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
PortfolioItem._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
PortfolioItem._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.
link
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.
tags
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.
ProfileStatHistory
ProfileStatHistory(self, *args, **kwargs)
ProfileStatHistory - generalizable model for tracking history of a profiles info
_method
ProfileStatHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ProfileStatHistory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ProfileStatHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ProfileStatHistory._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.
payload
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.
TribeMember
TribeMember(self, *args, **kwargs)
TribeMember(id, created_on, modified_on, profile, org, leader, title, status, why)
_method
TribeMember._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
TribeMember._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
TribeMember._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
TribeMember._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
TribeMember._method(self, *, field=<django.db.models.fields.CharField: status>)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
leader
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
MEMBER_STATUS
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
org
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.
org_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.
status
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.
why
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Poll
Poll(self, *args, **kwargs)
Poll(id, created_on, modified_on, title, active)
active
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Poll._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Poll._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Poll._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Poll._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
hackathon
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.
question_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.
title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
PollMedia
PollMedia(self, *args, **kwargs)
PollMedia(id, created_on, modified_on, name, image)
_method
PollMedia._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
PollMedia._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
PollMedia._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
PollMedia._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.
image
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.
question_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.
Question
Question(self, *args, **kwargs)
Question(id, created_on, modified_on, hook, poll, question_type, text, order, header, mandatory, minimum_character_count)
answer_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.
_method
Question._method(self, *, field=<django.db.models.fields.CharField: hook>)
_method
Question._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Question._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Question._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Question._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
Question._method(self, *, field=<django.db.models.fields.CharField: question_type>)
header
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.
header_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
hook
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.
mandatory
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
minimum_character_count
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
option_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.
order
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
poll
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.
poll_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
question_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
text
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
TYPE_HOOKS
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.
TYPE_QUESTIONS
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.
Option
Option(self, *args, **kwargs)
Option(id, created_on, modified_on, question, text)
answer_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.
_method
Option._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Option._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Option._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Option._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.
question
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.
question_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
text
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Answer
Answer(self, *args, **kwargs)
Answer(id, created_on, modified_on, user, question, open_response, choice, checked, hackathon)
checked
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
choice
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.
choice_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Answer._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Answer._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Answer._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Answer._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
hackathon
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.
hackathon_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.
open_response
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
question
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.
question_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
user
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.
user_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Investigation
Investigation(self, *args, **kwargs)
Investigation(id, created_on, modified_on, profile, key, description)
description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
Investigation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
Investigation._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
Investigation._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
Investigation._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.
ObjectView
ObjectView(self, *args, **kwargs)
Records object views .
_method
ObjectView._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ObjectView._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ObjectView._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ObjectView._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.
target
Provide a generic many-to-one relation through the content_type
and
object_id
fields.
This class also doubles as an accessor to the related object (similar to ForwardManyToOneDescriptor) by adding itself as a model attribute.
target_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
target_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.
target_type_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
view_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
viewer
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.
viewer_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
ProfileVerification
ProfileVerification(self, *args, **kwargs)
ProfileVerification(id, created_on, modified_on, profile, caller_type, carrier_error_code, mobile_network_code, mobile_country_code, carrier_name, carrier_type, country_code, phone_number, delivery_method, validation_passed, validation_comment, success)
caller_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
carrier_error_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
carrier_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
carrier_type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
country_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
delivery_method
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
ProfileVerification._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
ProfileVerification._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
ProfileVerification._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
ProfileVerification._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.
mobile_country_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
mobile_network_code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
phone_number
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.
success
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
validation_comment
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
validation_passed
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
HackathonWorkshop
HackathonWorkshop(self, *args, **kwargs)
HackathonWorkshop(id, created_on, modified_on, name, start_date, cover, hackathon, speaker, url, visible)
cover
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=True, **kwargs)
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
_method
HackathonWorkshop._method(self, *, field=<django.db.models.fields.DateTimeField: start_date>, is_next=False, **kwargs)
hackathon
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.
hackathon_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.
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
speaker
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.
speaker_id
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.
url
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.
TransactionHistory
TransactionHistory(self, *args, **kwargs)
TransactionHistory(id, created_on, modified_on, earning, txid, status, payload, network, captured_at)
captured_at
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
earning
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.
earning_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
TransactionHistory._method(self, *, field=<django.db.models.fields.DateTimeField: captured_at>, is_next=True, **kwargs)
_method
TransactionHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
TransactionHistory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
TransactionHistory._method(self, *, field=<django.db.models.fields.DateTimeField: captured_at>, is_next=False, **kwargs)
_method
TransactionHistory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
TransactionHistory._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.
payload
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
txid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
MediaFile
MediaFile(self, *args, **kwargs)
MediaFile(id, created_on, modified_on, filename, file)
file
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)
filename
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
MediaFile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
MediaFile._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
MediaFile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
MediaFile._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.