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
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
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
3 matches
Mail list logo