I think this should fix. Additionally if you are using render_to_response for some reason, it passes Context instead of RequestContext.
To solve this do render_to_response('view', {}, context_instance=RequestContext(request)) On Aug 1, 9:10 pm, OIM <oimonl...@gmail.com> wrote: > You should use: > > {% block user_info %} > <div id="user_info"> > {% if user.is_authenticated %} > User {{ user.username }} (<a > href="/accounts/logout">logout</a> | > <a href="/accounts/profile">profile</a>) > {% endif %} > </div> > {% endblock %} > > It works. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---