#9980: Nice-have correction for Authentication
--------------------------------------+-------------------------------------
Reporter: shelldweller | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Keywords: templates authentication | Stage: Unreviewed
Has_patch: 0 |
--------------------------------------+-------------------------------------
In http://docs.djangoproject.com/en/dev/topics/auth/#id5 the wording is a
bit misleading. It would be nice to replace this:
''The currently logged-in user, either a User instance or an AnonymousUser
instance, is stored in the template variable {{ user }}''
with this:
'' '''If rendering template django.template.RequestContext (link),''' the
currently logged-in user, either a User instance or an AnonymousUser
instance, is stored in the template variable {{ user }}''
to make clear that this feature is only available with RequestContext (and
not with Context)
--
Ticket URL: <http://code.djangoproject.com/ticket/9980>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---