Check your TEMPLATE_CONTEXT_PROCESSOR setting. auth TCP must be installed http://www.djangoproject.com/documentation/templates_python/#django-core-context-processors-auth
On 3 сент, 22:33, Robert <[EMAIL PROTECTED]> wrote: > Hi all, I'm new to Django and python in general, so please overlook my > faulty nomenclature, and if something isn't quite clear, please let me > know. I'm working with a project that needs to use user data as part > of the template. In a "base.html" file (the base template, I suppose), > when I try to access information, such as a username like in the > example below: > > <div id="sidebar"> > <ul id="nav"> > <li class="classesHeader">My Information</li> > <li><a href="#"> {{ user.username }} TEST</a></li> > </ul> > </div> > > the user.username query returns nothing, and as a result, only that > "TEST" appears where the username should be. > > I've tried very hard to search through the docs etc. to find something > related to this, but have simply failed. Any help is greatly > appreciated > Thanks so much > -Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---