#10272 closed (fixed)
document signatures and optional parameters for the contrib.auth views
| Reported by: | Gary Wilson | Owned by: | Jacob |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The auth views are listed in the "Other built-in views" section of the topics/auth.txt documentation, but many are lacking signatures and documentation of all their optional parameters.
Attachments (1)
Change History (13)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
(In [9836]) [1.0.X] Auth-related doc cleanups:
- Added to documentation of missing characters from
allowed_charsinmake_random_password. - Fixed several long lines and word wraps.
- Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the
:ref:directive. - Turned a command line code example into a code block.
- Added attribute reference link for a
request.METAmention. - Added
code-block:: htmldirectives for HTML examples. - Corrected reference links for all the
auth.viewsfunctions. - Added a few function signatures and documentation of optional parameters that were missing for some of the the
auth.viewsfunctions (refs #10272).
Backport of r9835 from trunk.
comment:3 by , 17 years ago
| milestone: | → 1.1 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:4 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
Taking this one for the plane.
by , 17 years ago
| Attachment: | 10272-document-signatures-parameters-r10680.diff added |
|---|
comment:6 by , 17 years ago
| Has patch: | set |
|---|---|
| Status: | new → assigned |
| Version: | 1.0 → SVN |
Went through all of the views in login and made sure that they were
- in the docs
- had the (correct) signatures
- had descriptions for each of the arguments and context vars
Also fixed some minor grammar errors. See attached patch!
comment:7 by , 17 years ago
Forgot to mention:
There's one parameter I didn't document because I wasn't sure that it would be useful outside of the admin context: is_admin_site in views.password_reset.
comment:8 by , 17 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:9 by , 17 years ago
| Owner: | changed from to |
|---|
comment:10 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [9835]) Auth-related doc cleanups:
allowed_charsinmake_random_password.:ref:directive.request.METAmention.code-block:: htmldirectives for HTML examples.auth.viewsfunctions.auth.viewsfunctions (refs #10272).