If you're using the standard context processors, then just make sure
to use RequestContext and you'll have a user variable in your template
context.

The only downside is that this will _only_ work when you're using
RequestContext, so your template should probably do something like {%
if user %}<a href="{% url user-profile user %}">{{ user }}'s Profile</
a>{% endif %}.
--~--~---------~--~----~------------~-------~--~----~
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