Although this post is a few days I post a solution which worked for me.
Working on a local development machine (i.e. using the Django development
server) you need to update your hosts settings. Add the following line to
"/etc/hosts" (or equivalent depending on your OS):
1. 127.0.0.1 andrea.localhost
2. Restart your machine (or restart the hostname service e.g. sudo
service hostname start on Ubuntu)
3. Start the development server python manage.py localhost:8080
Worked for me
Chris
Am Sonntag, 13. März 2016 18:41:50 UTC+1 schrieb wh4n:
>
> 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.