#20673: Improve HttpRequest.user documentation
--------------------------------------+--------------------
Reporter: littlepig | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.5
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
In [https://docs.djangoproject.com/en/dev/ref/request-
response/#django.http.HttpRequest.user] it is said
{{{
A django.contrib.auth.models.User object representing the currently
logged-in user.
}}}
But apparently ([http://stackoverflow.com/questions/17355275]), it returns
the AUTH_USER_MODEL if it is defined.
I think this should be clarified in the documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/20673>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.cbd23633deef4a693430a956a441a9b8%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.