I'm still struggling a bit with template contexts

What I want to do is put a code snippet in the header of my site base
template that either presents the user with a small login form if they
aren't authenticated or display a "Welcome! user" where user is linked
to their profile.

It seems I have to pass RequestContext(request) everytime I call
render_to_response but I'm sure there's an easier way I'm missing.
I've read through the docs and apologize if I'm missing it but can
someone help with some advice?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to