If it is going to be in every page I would just use the now
tag( http://www.djangoproject.com/documentation/templates/#now ) in
the base.html

On Mar 25, 9:56 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Still fairly new to Django, but I'm loving it!
>
> I have a base html template that I would like to display the current
> year in. Where should I put the action that retrieves the current year
> if I would like the value to appear on every page?
>
> Thank you,
> Brandon
--~--~---------~--~----~------------~-------~--~----~
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