#25434: Missing documentation for request.site attribute
-------------------------------+------------------------------------
Reporter: ngnpope | Owner: ngnpope
Type: Bug | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Comment (by ngnpope):
You've suggested exactly what I was thinking as an alternative - a
separate section detailing the attributes that are added to the request by
middleware. As well as `request.user` and `request.site`, there is also
`request.session` which is set by middleware but currently doesn't mention
the fact. I feel that it is useful to know where these attributes are
meant to come from if they have not been set on the request object.
Would you rather that I just altered this ticket and the pull request
instead of creating a separate ticket? One ticket along the lines of
"separated docs for attributes set by middleware and added missing
entries" seems sufficient.
--
Ticket URL: <https://code.djangoproject.com/ticket/25434#comment:3>
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/065.6a965fc940995765320b48b2385259fe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.