django_dynamic_theme.admin
Models for Themes
Classes
The admin model to maange the themes. |
|
The admin model to set the backgrounds. |
|
The admin model for the media gallery. |
|
The admin model for the navigation bar. |
Module Contents
- class django_dynamic_theme.admin.ThemeAdmin
Bases:
django.contrib.admin.ModelAdminThe admin model to maange the themes.
- list_display = ['name', 'background']
- class django_dynamic_theme.admin.BackgroundAdmin
Bases:
django.contrib.admin.ModelAdminThe admin model to set the backgrounds.
- list_display = ['name', 'primary_bg']
- class django_dynamic_theme.admin.MediaGalleryAdmin
Bases:
django.contrib.admin.ModelAdminThe admin model for the media gallery.
- list_display = ['name', 'margin_left', 'margin_right', 'max_width', 'item_align', 'row_margin_top']
Bases:
django.contrib.admin.ModelAdminThe admin model for the navigation bar.