You can see the code that I worked on for the template loader at: https://bitbucket.org/stephenmcd/mezzanine/pull-request/35/site_theme-loader
Take another read through that thread I posted, the only way you will get base.html to work with the HOST_THEMES is if you directly render base.html from a view (which wouldn't make very much sense because base.html is meant to be the basis for almost all your other templates). The middleware approach of HOST_THEMES is limited because not all uses of a template result in process_template_response middleware being called. On Wed, Jan 22, 2014 at 5:09 PM, Radomir Wojcik <[email protected]> wrote: > The TemplateForHostMiddleware is there in my settings but when debugging I > added some print statements to see if it is hit and it doesn't look like it > is using my configuration.. > > I can create a compact example on bitbucket and share it, hopefully you > guys can help me fix it and it can be used as a working example for others. > > -- > 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. > -- 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.
