coalition.content.admin.homepage ================================ .. py:module:: coalition.content.admin.homepage .. autoapi-nested-parse:: Admin configuration for HomePage model. Classes ------- .. autoapisummary:: coalition.content.admin.homepage.HomePageAdmin Module Contents --------------- .. py:class:: HomePageAdmin(model, admin_site) Bases: :py:obj:`django.contrib.admin.ModelAdmin` Admin interface for Homepage model. .. py:attribute:: list_display :value: ('organization_name', 'theme', 'is_active', 'has_hero_image', 'has_hero_video', 'created_at',... .. py:attribute:: list_filter :value: ('theme', 'is_active', 'created_at') .. py:attribute:: search_fields :value: ('organization_name', 'tagline', 'hero_title') .. py:attribute:: readonly_fields :value: ('created_at', 'updated_at') .. py:attribute:: fieldsets .. py:method:: has_hero_image(obj: coalition.content.models.HomePage) -> bool Display whether homepage has a hero image .. py:method:: has_hero_video(obj: coalition.content.models.HomePage) -> bool Display whether homepage has a hero video