如何在夹层中切换主题?

时间:2016-07-17 18:43:15

标签: django themes mezzanine

我正在探索Djanngo-cms和Mezzanine进行内容管理。

使用Mezzannine,您可以在INSTALLED_APPS中添加新主题 -

INSTALLED_APPS = (
    "flat",     # current_active theme
    #"moderna",
    #"nova",
    #"solid",
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.redirects",
    "django.contrib.sessions",
    "django.contrib.sites",
    "django.contrib.sitemaps",
    "django.contrib.staticfiles",
    "mezzanine.boot",
    "mezzanine.conf",
    "mezzanine.core",
    "mezzanine.generic",
    "mezzanine.blog",
    "mezzanine.forms",
    "mezzanine.pages",
    "mezzanine.galleries",
    "mezzanine.twitter",
    #"mezzanine.accounts",
    #"mezzanine.mobile",
)

如果我需要让客户选择在主题flatmoderna之间切换,我将如何实现,是否有插件?

0 个答案:

没有答案