In my view, I have this definition:
from datetime import date
todaysdate = date.today()
In my template, I am trying to print out this date using:
{{ todaysdate }}
And everything else in the template prints fine, but the date doesn't
print. Is there something simple I am doing wrong?
Thanks!
KJ
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---