Re: Displaying a variable in my base template

2008-03-26 Thread Brandon Taylor
Thanks! On Mar 25, 10:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > 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: > > >

Re: Displaying a variable in my base template

2008-03-25 Thread [EMAIL PROTECTED]
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

Displaying a variable in my base template

2008-03-25 Thread Brandon Taylor
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