coalition.content.admin.homepage

Admin configuration for HomePage model.

Classes

HomePageAdmin

Admin interface for Homepage model.

Module Contents

class coalition.content.admin.homepage.HomePageAdmin(model, admin_site)[source]

Bases: django.contrib.admin.ModelAdmin

Admin interface for Homepage model.

list_display = ('organization_name', 'theme', 'is_active', 'has_hero_image', 'has_hero_video', 'created_at',...[source]
list_filter = ('theme', 'is_active', 'created_at')[source]
search_fields = ('organization_name', 'tagline', 'hero_title')[source]
readonly_fields = ('created_at', 'updated_at')[source]
fieldsets[source]
has_hero_image(obj: coalition.content.models.HomePage) bool[source]

Display whether homepage has a hero image

has_hero_video(obj: coalition.content.models.HomePage) bool[source]

Display whether homepage has a hero video