I was trying to figure out how to run the date filter, using
SETTINGS.DATETIME_FORMAT as an argument.

When I grepped in the admin app I found this in object_history.html:

{{ action.action_time|date:_("DATETIME_FORMAT") }}

Can anyone give me a pointer as to how this works?  What is '_' in
this case, and where is it defined?  I see {% load il8n %}, but it is
very hard to grep for '_', can seem to see where it is being defined
there.

Margie


--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to