Dear group,

I run django 1.2 on windows on the development server.

I set up a login site via the standard django login view. The user is
then redirected to a site built from a base template. The view that
calls the base template is only available to logged-in users (via the
@login_required decorator) - otherwise, the user is redirected to the
login site. This part works.

However, when I try to access {{user.username}} from within the
template, I find that it is empty. is_authenticated returns false.

What am I doing wrong?

Gunnar

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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