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, Richard Dahl <[EMAIL PROTECTED]> wrote:
> >
> > Django works just like any other web app. It is stateless.  There is
> > no way of passing the object from one view to another. You must
> > enable sessions in order to store the user associated with any given
> > login.  Refer to the django documentation for sessions.
> > -richard
> >
> > On Oct 1, 2007, at 9:46 PM, Jason wrote:
> >
> > >
> > > Hi:
> > >
> > > So I pass the built in login my own template for authentication - and
> > > it works. I get a user object back and life is good.
> > >
> > > However I can't access the user outside of this page/template. I don't
> > > seem to be able to get a handle on the Context's so - 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.
> > >
> > >
> > > >
> >
> >
> > > >
> >
>
>
> --
> ........................................
> .... Jason C. Leach
> .... PGP Key: 0x62DDDF75
> .... Keyserver: gpg.mit.edu
>


-- 
........................................
.... Jason C. Leach
.... PGP Key: 0x62DDDF75
.... Keyserver: gpg.mit.edu

--~--~---------~--~----~------------~-------~--~----~
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