On Wed, 2008-02-06 at 13:02 -0800, koenb wrote:
> BTW, you can add tags to builtins if you need them all the time.
>
> eg. if you need i18n all over:
>
> from django.template import add_to_builtins
> add_to_builtins('django.templatetags.i18n')
Thanks for the info. Where would I put this?
--
On Wed, 2008-02-06 at 11:31 -0800, Daniel Roseman wrote:
> >From the same documentation page you quote above (http://
> www.djangoproject.com/documentation/templates/):
>
> When you load a custom tag or filter library, the tags/filters are
> only made available to the current template -- not any
On 6 Feb, 19:03, Adam Stein <[EMAIL PROTECTED]> wrote:
> Running Django v0.96.
>
> Want to check to see if this behavior is normal. I have a base template
> that uses {% load %}. I have another template that extends the base
> template. The {% load %} tag doesn't seem to carry into the
Running Django v0.96.
Want to check to see if this behavior is normal. I have a base template
that uses {% load %}. I have another template that extends the base
template. The {% load %} tag doesn't seem to carry into the extended
template. In other words, it looks like I have to use {% load
4 matches
Mail list logo