django_dynamic_theme.admin

Models for Themes

Classes

ThemeAdmin

The admin model to maange the themes.

BackgroundAdmin

The admin model to set the backgrounds.

MediaGalleryAdmin

The admin model for the media gallery.

NavbarAdmin

The admin model for the navigation bar.

Module Contents

class django_dynamic_theme.admin.ThemeAdmin

Bases: django.contrib.admin.ModelAdmin

The admin model to maange the themes.

list_display = ['name', 'background']
class django_dynamic_theme.admin.BackgroundAdmin

Bases: django.contrib.admin.ModelAdmin

The admin model to set the backgrounds.

list_display = ['name', 'primary_bg']
class django_dynamic_theme.admin.MediaGalleryAdmin

Bases: django.contrib.admin.ModelAdmin

The admin model for the media gallery.

list_display = ['name', 'margin_left', 'margin_right', 'max_width', 'item_align', 'row_margin_top']
class django_dynamic_theme.admin.NavbarAdmin

Bases: django.contrib.admin.ModelAdmin

The admin model for the navigation bar.

list_display = ['name', 'background_color', 'opacity', 'font_size', 'text_color', 'text_opacity']