Thank you.
That's a beautiful solution, really puts an end to the evil code in
templates.
/Hugo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-user
On Thu, 2006-06-15 at 00:19 -0700, Hugo Wetterberg wrote:
> Hi All,
> I was trying to output formatted dates in my template with
> {{ entry.strftime("%A, %B %d") }}
>
> ...where entry is a datetime object. But I got an error where Django
> said:
> "Could not parse the remainder: ("%A, %B %d")
>
2 matches
Mail list logo