grants.admin

Define the Grant admin layout.

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

GeneralAdmin

GeneralAdmin(self, model, admin_site)

Define the GeneralAdmin administration layout.

ordering

Built-in mutable sequence.

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

FlagAdmin

FlagAdmin(self, model, admin_site)

Define the FlagAdmin administration layout.

ordering

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_id_fields

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

GrantCLRCalculationAdmin

GrantCLRCalculationAdmin(self, model, admin_site)

Define the GrantCLRCalculation administration layout.

list_display

Built-in mutable sequence.

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

ordering

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

search_fields

Built-in mutable sequence.

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

CLRMatchAdmin

CLRMatchAdmin(self, model, admin_site)

Define the CLRMatch administration layout.

list_display

Built-in mutable sequence.

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

ordering

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_id_fields

Built-in mutable sequence.

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

GrantAdmin

GrantAdmin(self, model, admin_site)

Define the Grant administration layout.

fields

Built-in mutable sequence.

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

list_display

Built-in mutable sequence.

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

ordering

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_id_fields

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

search_fields

Built-in mutable sequence.

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

logo_svg_asset

GrantAdmin.logo_svg_asset(self, instance)

Define the logo SVG tag to be displayed in the admin.

logo_asset

GrantAdmin.logo_asset(self, instance)

Define the logo image tag to be displayed in the admin.

SubscriptionAdmin

SubscriptionAdmin(self, model, admin_site)

Define the Subscription administration layout.

raw_id_fields

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

SubscriptionAdmin.contributions_links(self, instance)

Define the logo image tag to be displayed in the admin.

ContributionAdmin

ContributionAdmin(self, model, admin_site)

Define the Contribution administration layout.

list_display

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_id_fields

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

search_fields

Built-in mutable sequence.

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

PhantomFundingAdmin

PhantomFundingAdmin(self, model, admin_site)

Define the GeneralAdmin administration layout.

list_display

Built-in mutable sequence.

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

ordering

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_id_fields

Built-in mutable sequence.

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

CartActivityAdmin

CartActivityAdmin(self, model, admin_site)

list_display

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_id_fields

Built-in mutable sequence.

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

search_fields

Built-in mutable sequence.

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

GrantTypeAdmin

GrantTypeAdmin(self, model, admin_site)

list_display

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

GrantTagAdmin

GrantTagAdmin(self, model, admin_site)

list_display

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

GrantCLRAdmin

GrantCLRAdmin(self, model, admin_site)

list_display

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_id_fields

Built-in mutable sequence.

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

GrantCollectionAdmin

GrantCollectionAdmin(self, model, admin_site)

list_display

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_id_fields

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

GrantBrandingRoutingPolicyAdmin

GrantBrandingRoutingPolicyAdmin(self, model, admin_site)

list_display

Built-in mutable sequence.

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

GrantHallOfFameGranteeInline

GrantHallOfFameGranteeInline(self, parent_model, admin_site)

extra

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

fields

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_id_fields

Built-in mutable sequence.

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

GrantHallOfFameGrantee

GrantHallOfFameGranteeInline.GrantHallOfFameGrantee(self, *args, **kwargs)

This contains information about one grantee listed in the hall of fame page

GrantHallOfFameForm

GrantHallOfFameForm(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)

base_fields

Dictionary that remembers insertion order

declared_fields

Dictionary that remembers insertion order

Meta

GrantHallOfFameForm.Meta(self, /, *args, **kwargs)

GrantHallOfFameAdmin

GrantHallOfFameAdmin(self, model, admin_site)

actions

Built-in mutable sequence.

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

inlines

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.

list_display

Built-in mutable sequence.

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

readonly_fields

Built-in mutable sequence.

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

GrantHallOfFameForm

GrantHallOfFameAdmin.GrantHallOfFameForm(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)

GrantPayoutAdmin

GrantPayoutAdmin(self, model, admin_site)

Define the GrantPayout administration layout.

list_display

Built-in mutable sequence.

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