Themes tree of mez project:

├── lzone_theme_app

│   ├── __init__.py

│   ├── __init__.pyc

│   ├── static

│   │   ├── css

│   │   │   ├── bootstrap.css

│   │   │   ├── bootswatch.less

│   │   │   ├── custom.less

│   │   │   └── variables.less

│   │   ├── img

│   │   │   ├── favicon.ico

│   │   │   └── logo.png

│   │   └── js

│   │       └── less.js

│   └── templates

│       ├── base.html

│       ├── includes

│       │   └── footer_scripts.html

│       └── index.html

├── cld_theme_app

│   ├── __init__.py

│   ├── __init__.pyc

│   ├── static

│   │   ├── css

│   │   │   └── custom.less

│   │   └── js

│   │       └── less.js

│   └── templates

│       ├── base.html

│       ├── includes

│       │   └── footer_scripts.html

│       └── index.html

├── dev.db

├── fabfile.py

├── __init__.py

├── __init__.pyc

├── local_settings.py

├── local_settings.pyc

├── manage.py

├── mez_server.old.sh

├── mez_server.sh

├── requirements.txt

├── settings.py

├── settings.pyc

├── static


Settings.py file relevant parts:

TEMPLATE_DIRS = ()

################

# APPLICATIONS #

################


#from django.contrib.sites.models import Site

#cur_domain = Site.objects.get_current().domain

#site_obj = Site.objects.get(domain=cur_domain)

#print site_obj


INSTALLED_APPS = (

    #if site

    "lzone_theme_app",

    "cld_theme_app",

    "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",

)

HOST_THEMES = (

    ('127.0.0.1:8000', 'lzone_theme_app'),

    ('localhost:8000', 'cld_theme_app'),

)
MIDDLEWARE_CLASSES = (
    "mezzanine.core.middleware.UpdateCacheMiddleware",
    "django.contrib.sessions.middleware.SessionMiddleware",
    "django.middleware.locale.LocaleMiddleware",
    "django.contrib.auth.middleware.AuthenticationMiddleware",
    "django.middleware.common.CommonMiddleware",
    "django.middleware.csrf.CsrfViewMiddleware",
    "django.contrib.messages.middleware.MessageMiddleware",
    "mezzanine.core.request.CurrentRequestMiddleware",
    "mezzanine.core.middleware.RedirectFallbackMiddleware",
    "mezzanine.core.middleware.TemplateForDeviceMiddleware",
    "mezzanine.core.middleware.TemplateForHostMiddleware",
    "mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware",
    "mezzanine.core.middleware.SitePermissionMiddleware",
    # Uncomment the following if using any of the SSL settings:
    # "mezzanine.core.middleware.SSLRedirectMiddleware",
    "mezzanine.pages.middleware.PageMiddleware",
    "mezzanine.core.middleware.FetchFromCacheMiddleware",
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

The page content changes but the themes do not. It always uses the first 
theme in installed_apps.  Any idea how to get this working? The doc for it 
is not all that detailed and there isn't any working examples.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to