Hi all,

I have a base.html from which almost all of my templates are derived,
and i would like to place a "user bar" on top of every page, so that
the user have easy access to their profiles and such. Would i need to
pass request.user along to every view in context to be able to include
say user.is_authenticated in the template (to display their username,
if not authenticated, then display a link to register). Is there a
common pattern to do this (seems like a common thing to do).

Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
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