Re: [1.8] MultiHost with template dir per Host

2015-03-06 Thread Collin Anderson
Hi, You might need to modify the template engine directly. Collin On Sunday, March 1, 2015 at 6:31:57 PM UTC-5, Neyoui wrote: > > Hi, > > I had create a middleware, that is able to change the template directory > per host on the fly. > But it stopped working since I upgraed to Django 1.8 and I

[1.8] MultiHost with template dir per Host

2015-03-01 Thread Neyoui
Hi, I had create a middleware, that is able to change the template directory per host on the fly. But it stopped working since I upgraed to Django 1.8 and I tried to fix it. My problem is: If I visit domain1.tld, all works fine. Django loads the templates from the right directory. (/path/domain