Re: Use new variables on templates

2008-06-15 Thread Eric Abrahamsen
Crap, I knew there was something a little off there. On Jun 16, 2008, at 12:50 AM, James Bennett wrote: > > On Sun, Jun 15, 2008 at 11:29 AM, Eric Abrahamsen <[EMAIL PROTECTED]> > wrote: >> One of the things django does for you is make 'settings' available >> everywhere. So if you want to

Re: Use new variables on templates

2008-06-15 Thread James Bennett
On Sun, Jun 15, 2008 at 11:29 AM, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > One of the things django does for you is make 'settings' available > everywhere. So if you want to use these constants in a template, you > should be able to do this in a view: Er. No, no it doesn't. If you want

Re: Use new variables on templates

2008-06-15 Thread Eric Abrahamsen
One of the things django does for you is make 'settings' available everywhere. So if you want to use these constants in a template, you should be able to do this in a view: site_name = settings.SITE_NAME and then pass 'site_name' into a template. Sure hope that's correct... E On Jun 16,