coalition.content.admin.homepage
Admin configuration for HomePage model.
Classes
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]
- 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