avatar.admin

Define the Avatar 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/.

AvatarThemeAdmin

AvatarThemeAdmin(self, model, admin_site)

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

png_asset

AvatarThemeAdmin.png_asset(self, instance)

Define the avatar PNG tag to be displayed in the admin.

VeryGeneralAdmin

VeryGeneralAdmin(self, model, admin_site)

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

GeneralAdmin

GeneralAdmin(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.

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.

svg_asset

GeneralAdmin.svg_asset(self, instance)

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

png_asset

GeneralAdmin.png_asset(self, instance)

Define the avatar PNG tag to be displayed in the admin.

BaseAvatarAdmin

BaseAvatarAdmin(self, model, admin_site)

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

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.

CustomAvatarAdmin

CustomAvatarAdmin(self, model, admin_site)

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

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.