organizations.admin module¶
-
class
organizations.admin.
OrganizationLogoInline
(parent_model, admin_site)[source]¶ Bases:
django.contrib.admin.options.TabularInline
-
model
¶
-
extra
= 0¶
-
property
media
¶
-
-
class
organizations.admin.
OrganizationEventInline
(parent_model, admin_site)[source]¶ Bases:
django.contrib.admin.options.TabularInline
-
model
¶
-
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
¶
-