On 04/30/2012 09:21 PM, Rajat Jain wrote:
> 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?
Hi Rajat,
You can use sed. See: <http://www.grymoire.com/Unix/Sed.html#uh-39>.
--
Regards,
Clifford Ilkay
Dinamis
1419-3230 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
--
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment