Opened 11 years ago
Last modified 2 months ago
#21292 new New feature
A how-to or tutorial document for using authentication views and forms is needed
Reported by: | Daniele Procida | Owned by: | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Ülgen Sarıkavak, Clifford Gama | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There's are some substantial documents in /topics/auth/, but there isn't a step-by-step tutorial or how-to.
There's a need for it in the official documentation, because:
- it's worthwhile getting users started on the right track, so that they don't find themselves doing it insecurely or incorrectly
- there are plenty of questions on the subject on StackOverflow and elsewhere
- there are numerous (often out-of-date or incomplete) weblog articles circulating on the subject
Probably a how-to is more appropriate than a tutorial.
Change History (12)
comment:1 by , 11 years ago
Component: | Uncategorized → Documentation |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 11 years ago
comment:3 by , 10 years ago
We could better document django.contrib.auth.urls
url('accounts/', include('django.contrib.auth.urls'),
comment:4 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I'm interested in working on this today.
comment:5 by , 10 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
All I got to was an really rough outline:
- login view - login form - login template - login url - login_required - logout view - create view - create form - create template - create url
comment:6 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
follow-up: 9 comment:7 by , 10 years ago
Patch needs improvement: | set |
---|
I am working on writing up this tutorial. I have a rough draft ready here: https://github.com/harisibrahimkv/django/blob/3cbcca57465f0dbdf5265b0b80d0bf307ed4505e/docs/topics/auth/tutorial.txt
This is my first time and I am not sure what exactly needs to go in there.
Looking for feedback.
comment:8 by , 9 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:9 by , 8 years ago
Replying to harisibrahimkv:
I am working on writing up this tutorial. I have a rough draft ready here: https://github.com/harisibrahimkv/django/blob/3cbcca57465f0dbdf5265b0b80d0bf307ed4505e/docs/topics/auth/tutorial.txt
This is my first time and I am not sure what exactly needs to go in there.
Looking for feedback.
this link to the article is broken
comment:11 by , 4 years ago
Needs documentation: | unset |
---|---|
Patch needs improvement: | unset |
Clearing flags for any new attempt when ready.
comment:12 by , 9 months ago
Cc: | added |
---|
comment:13 by , 2 months ago
Cc: | added |
---|
#22075 contains some suggestions related to this.