shuup.themes.classic_gray package
Submodules
shuup.themes.classic_gray.apps module
shuup.themes.classic_gray.theme module
- class shuup.themes.classic_gray.theme.ClassicGrayTheme(theme_settings=None, shop=None)[source]
Bases:
BaseThemeFieldsMixin
,Theme
Initialize this theme, with an optional
ThemeSettings
orShop
object. Only one should be passed.- Parameters:
theme_settings (ThemeSettings|None) – A theme settings object for this theme.
shop (Shop|None) – The shop for this theme.
- identifier = 'shuup.themes.classic_gray'
- name = 'Shuup Classic Gray Theme'
- author = 'Shuup Team'
- template_dir = 'classic_gray'
- guide_template = 'classic_gray/admin/guide.jinja'
- stylesheets = [{'identifier': 'default', 'images': ['shuup/front/img/no_image.png'], 'name': 'Default', 'stylesheet': 'shuup/front/css/style.css'}, {'identifier': 'midnight_blue', 'images': ['shuup/front/img/no_image.png'], 'name': 'Midnight Blue', 'stylesheet': 'shuup/classic_gray/blue/style.css'}, {'identifier': 'candy_pink', 'images': ['shuup/front/img/no_image.png'], 'name': 'Candy Pink', 'stylesheet': 'shuup/classic_gray/pink/style.css'}]
- property fields
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.
- get_view(view_name)[source]
Get an extra view for this theme.
Views may be either normal Django functions or CBVs (or anything that has
as_view()
really). Falsy values are considered “not found”.