cached template loader is new in trunk/1.2, docs does not mention that

0 views
Skip to first unread message

Amit Upadhyay

unread,
Jan 6, 2010, 11:24:30 AM1/6/10
to django-d...@googlegroups.com
http://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types, I looked and could not find "cached.py" in Django-1.1.1/django/template/loaders. 

--
Amit Upadhyay
www.amitu.com
+91-9820-295-512

Amit Upadhyay

unread,
Jan 6, 2010, 11:41:21 AM1/6/10
to django-d...@googlegroups.com
Further, cached template loader does not reload template when template is modified. I am not complaining, just feel that it should me mentioned in the doc, as normal expectation when developing/deploying django is that one need not restart apache when template changes, not with cached template loader. 

Jeremy Dunck

unread,
Jan 6, 2010, 12:16:44 PM1/6/10
to django-d...@googlegroups.com
On Wed, Jan 6, 2010 at 10:24 AM, Amit Upadhyay <upad...@gmail.com> wrote:
> http://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types, I
> looked and could not find "cached.py"
> in Django-1.1.1/django/template/loaders.

There is a section for "django.template.loaders.cached.Loader". Isn't
that what you mean?

Karen Tracey

unread,
Jan 6, 2010, 3:04:49 PM1/6/10
to django-d...@googlegroups.com

I think the problem being reported is that is is not marked up as new in 1.2/Development version.

Karen
Reply all
Reply to author
Forward
0 new messages