Re: cached template loader

2012-12-18 Thread Chris Cogdon
your two versions are actually identical :) The missing comma, I assume, was missing after django.template.loaders.app_directories.Loader ... without the comma there, python sees two strings right next to each other, and thus concatenates them, resulting in a single parameter : 'django.templa

Re: cached template loader

2012-12-18 Thread Tom Martin
I had the same problem and discovered that I was missing a comma in the settings file: TEMPLATE_LOADERS = ( ('django.template.loaders.cached.Loader, ( 'django.template.loaders.app_directories.Loader', 'django.template.loaders.filesystem.Loader, )) ) should have been: TEM

Re: cached template loader

2010-07-06 Thread Sævar Öfjörð
I've also tried passing this through django.shortcuts.render_to_response, but I get the same error. - Sævar On Jul 6, 2:41 pm, Sævar Öfjörð wrote: > Hi, I've been using the default template loaders and it works fine. > Now I want to add the cached template loader, but I get an error. > > I'm usin