Nevermind - I got it. Thanks.
On 10/1/07, Jason C. Leach <[EMAIL PROTECTED]> wrote:
> Hi:
>
> I have sessions installed - and working. Just don't know how to get at them
> from
> in a template? {{ request.session.user }}? Noting seems to work.
>
> On 10/1/07, Ric
I'm stuck.
> >
> > Can anyone help. I'd just like to be able to check - in other
> > templates if the user.is_authenticated, etc. How can I pass this
> > object arround or dig it up when I need to?
> >
> > Thanks in advance,
> > J.
> >
> >
--
Adrian Holovaty
holovaty.com | djangoproject.com
>
--
........
Jason C. Leach
PGP Key: 0x62DDDF75
Keyserver: gpg.mit.edu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
in the Django Book here:
http://www.djangobook.com/en/beta/chapter15/#cn93
The gist of it is that it gives you a lightweight framework for
storing one-off pages like the about/contact pages.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
>
--
.........
s in your html, for example, instead of:
You have to:
Notice the slash at the beginning of "/css/styles.css".
Regards,
Jorge
>
--
........
Jason C. Leach
PGP Key: 0x62DDDF75
Keyserver: gpg.mit.edu
--~--~-~-
5 matches
Mail list logo