l10n not loaded from base.html template

16 views
Skip to first unread message

bikeridercz

unread,
Dec 31, 2012, 6:31:46 AM12/31/12
to django...@googlegroups.com
Dears,

strange thing happens to me, {% load l10n %} is not loaded in my base.html template, all other things like css works well.

Thus I'm forced to {% load l10n %} in every template. I'm using formating numbers  usings{% localize on %} and {% endlocalize %} tags.

Can You help to solve this small but annoying issue ?

Thanks.

Tomas Neme

unread,
Dec 31, 2012, 4:16:08 PM12/31/12
to django...@googlegroups.com
each template needs to {% load %} every templatetag library it uses, this is normal behavior


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



--
"The whole of Japan is pure invention. There is no such country, there are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny 
(")_(") to help him gain world domination.
Reply all
Reply to author
Forward
0 new messages