organizations.admin module

class organizations.admin.OrganizationLogoInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of organizations.models.OrganizationLogo

extra = 0
property media
class organizations.admin.OrganizationEventInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of organizations.models.OrganizationEvent

extra = 0
property media
class organizations.admin.ContactPersonInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of organizations.models.ContactPerson

extra = 0
property media
class organizations.admin.OrganizationAdmin(model, admin_site)[source]

Bases: guardian.admin.GuardedModelAdmin

inlines = [<class 'organizations.admin.OrganizationLogoInline'>, <class 'organizations.admin.OrganizationEventInline'>, <class 'organizations.admin.ContactPersonInline'>]
search_fields = ['name', 'acronym']
autocomplete_fields = ['parent', 'superseded_by']
property media
class organizations.admin.ContactRoleInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

model

alias of organizations.models.ContactRole

extra = 0
autocomplete_fields = ['organization']
property media
class organizations.admin.ContactAdmin(model, admin_site)[source]

Bases: django.contrib.admin.options.ModelAdmin

inlines = [<class 'organizations.admin.ContactRoleInline'>]
search_fields = ['user__last_name', 'user__first_name', 'user__email']
autocomplete_fields = ['user']
property media
class organizations.admin.ContactInline(parent_model, admin_site)[source]

Bases: django.contrib.admin.options.TabularInline

For use as an inline in User admin.

model

alias of organizations.models.Contact

extra = 0
property media