I'm using Mezzanine 4.2.3 with Apache on Ubuntu 16.04. I have two sites and
two themes. In settings.py both themes are in INSTALLED_APPS, and my
HOST_THEMES setting is as recommended in the docs:
HOST_THEMES = [('site1.com','theme1'),
('site2.com','theme2')]
in TEMPLATES I have
"DIRS": [
os.path.join(PROJECT_ROOT, "theme1/templates"),
os.path.join(PROJECT_ROOT, "theme2/templates")
],
But only the first theme is used for both sites. I have tried all combos in
the TEMPLATES_DIRS setting --including commenting both out, but it seems
that only the first-listed templates are loaded for both sites, whether
it's which one is listed first in INSTALLED_APPS or which one is listed
first in TEMPLATES_DIRS.
I've spent a fair amount of time searching for solutions, and remain
confused. I would really like to use different themes for two sites on the
same codebase. Any help would be appreciated.
--
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/d/optout.