geonode.themes.models ===================== .. py:module:: geonode.themes.models Attributes ---------- .. autoapisummary:: geonode.themes.models.THEME_CACHE_KEY Classes ------- .. autoapisummary:: geonode.themes.models.JumbotronThemeSlide geonode.themes.models.GeoNodeThemeCustomization Functions --------- .. autoapisummary:: geonode.themes.models.disable_other geonode.themes.models.invalidate_cache Module Contents --------------- .. py:data:: THEME_CACHE_KEY :value: 'enabled_theme' .. py:class:: JumbotronThemeSlide Bases: :py:obj:`django.db.models.Model` .. py:attribute:: slide_name .. py:attribute:: jumbotron_slide_image .. py:attribute:: jumbotron_slide_image_thumbnail .. py:attribute:: jumbotron_slide_content .. py:attribute:: hide_jumbotron_slide_content .. py:attribute:: is_enabled .. py:method:: __str__() .. py:class:: GeoNodeThemeCustomization Bases: :py:obj:`django.db.models.Model` .. py:attribute:: date .. py:attribute:: name .. py:attribute:: description .. py:attribute:: is_enabled .. py:attribute:: logo .. py:attribute:: extra_css .. py:attribute:: jumbotron_bg .. py:attribute:: jumbotron_welcome_hide .. py:attribute:: welcome_theme .. py:attribute:: jumbotron_slide_show .. py:attribute:: jumbotron_welcome_title .. py:attribute:: jumbotron_welcome_content .. py:property:: theme_uuid .. py:method:: __str__() .. py:class:: Meta .. py:attribute:: ordering :value: ('date',) .. py:attribute:: verbose_name_plural :value: 'Themes' .. py:function:: disable_other(sender, instance, **kwargs) .. py:function:: invalidate_cache(sender, instance, **kwargs)