Hey Derek, Thanks for the reply. Yes, that's correct. I create new site for each subdomain that I would like to use and then add them to the HOST_THEMES in settings.py. Both themes are in INSTALLED_APPS as well.
On Sunday, 13 March 2016 19:40:18 UTC+1, Derek Adair wrote: > > I'm not sure its meant to work for specific subdomains. Are you creating > a separate site for each subdomain? I'm pretty sure thats how it works. > Check > out the source code > <https://github.com/stephenmcd/mezzanine/blob/280642c8d0e7e41b90398c974a15533f6df20049/mezzanine/utils/sites.py> > for > more details or ideas on where you may be going wrong. > > On Sunday, March 13, 2016 at 12:41:50 PM UTC-5, wh4n wrote: >> >> Am I the only one that struggles with the host_themes setting? I tried >> with the following: >> >> HOST_THEMES = [ >> ('localhost', 'theme_1'), >> ('andrea.localhost', 'theme_2'), >> ] >> >> theme_2 won't be loaded to the subdomain blog andrea.localhost for some >> reason. What could that reason be? >> > -- 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.
