grants.admin

Define the Grant admin layout.

Copyright (C) 2018 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.

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.

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.

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.

ContributionAdmin

ContributionAdmin(self, model, admin_site)

Define the Contribution 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.