Mezzanine code , eu . mezzanine/utils/sites.py
def host_theme_path(request):
"""
Returns the directory of the theme associated with the given host.
"""
for (host, theme) in settings.HOST_THEMES:
if host.lower() == request.get_host().split(":")[0].lower():
request.get_host(), , localhost, HOST_THEMES.
, Mezzanine site_id , , -, .
, /etc/hosts :
127.0.0.1 domain.eu
, domain.eu/locations, ( dev)