Monday, April 30, 2012

The template tag {% load tz %}

Hi,

I am shifting to Django 1.4 and want to use the timezone support (for which I want to use {% load tz %} in my templates). The problem is that I have aroudn 30-40 templates, and manually adding these tags to each template is a pain. Is there a way by which I can do this loading by default in all the templates?

Thanks,
Rajat

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment