Hello,
How can I use a configuration in settings in templates?
For e.g , I would like to use the DATE_FORMAT configured in settings
to format the database datetime in a template
Here: {{db_time|date:"D d M Y" }} I want to get the format from
settings.

Thanks!

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to