forums.admin module¶
-
class
forums.admin.
ForumAdmin
(model, admin_site)[source]¶ Bases:
guardian.admin.GuardedModelAdmin
-
prepopulated_fields
= {'slug': ('name',)}¶
-
search_fields
= ['name', 'description']¶
-
autocomplete_fields
= ['moderators']¶
-
property
media
¶
-
-
class
forums.admin.
MeetingAdmin
(model, admin_site)[source]¶ Bases:
guardian.admin.GuardedModelAdmin
-
prepopulated_fields
= {'slug': ('name',)}¶
-
search_fields
= ['name', 'description', 'preamble']¶
-
autocomplete_fields
= ['moderators']¶
-
property
media
¶
-
-
class
forums.admin.
PostAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['posted_by', 'subject', 'text']¶
-
autocomplete_fields
= ['posted_by', 'vetted_by']¶
-
property
media
¶
-
-
class
forums.admin.
MotionAdmin
(model, admin_site)[source]¶ Bases:
django.contrib.admin.options.ModelAdmin
-
search_fields
= ['posted_by', 'subject', 'text']¶
-
autocomplete_fields
= ['posted_by', 'vetted_by', 'post', 'eligible_for_voting', 'in_agreement', 'in_doubt', 'in_disagreement', 'in_abstain']¶
-
property
media
¶
-