[Django] #21292: A how-to or tutorial document for using authentication views and forms is needed

24 views
Skip to first unread message

Django

unread,
Oct 19, 2013, 4:13:38 AM10/19/13
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-----------------------------------------+------------------------
Reporter: EvilDMP | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 1 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/21292>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 19, 2013, 4:44:25 AM10/19/13
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------

Reporter: EvilDMP | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by claudep):

* component: Uncategorized => Documentation
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:1>

Django

unread,
Feb 18, 2014, 9:43:32 AM2/18/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------

Reporter: EvilDMP | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by timo):

#22075 contains some suggestions related to this.

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:2>

Django

unread,
Aug 1, 2014, 9:26:47 PM8/1/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------

Reporter: EvilDMP | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by CollinAnderson):

We could better document django.contrib.auth.urls

{{{
url('accounts/', include('django.contrib.auth.urls'),
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:3>

Django

unread,
Sep 6, 2014, 11:32:31 AM9/6/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------------
Reporter: EvilDMP | Owner: collinanderson
Type: New feature | Status: assigned

Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------------
Changes (by collinanderson):

* status: new => assigned
* owner: nobody => collinanderson


Comment:

I'm interested in working on this today.

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:4>

Django

unread,
Sep 6, 2014, 8:01:40 PM9/6/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------
Reporter: EvilDMP | Owner:

Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by collinanderson):

* owner: collinanderson =>
* status: assigned => new


Comment:

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
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:5>

Django

unread,
Oct 13, 2014, 9:05:40 AM10/13/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------------
Reporter: EvilDMP | Owner: harisibrahimkv

Type: New feature | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------------
Changes (by harisibrahimkv):

* owner: => harisibrahimkv


* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:6>

Django

unread,
Oct 13, 2014, 1:18:41 PM10/13/14
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------------
Reporter: EvilDMP | Owner: harisibrahimkv
Type: New feature | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------------
Changes (by harisibrahimkv):

* needs_better_patch: 0 => 1


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:7>

Django

unread,
Jun 8, 2016, 1:09:02 PM6/8/16
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------
Reporter: EvilDMP | Owner:

Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by harisibrahimkv):

* owner: harisibrahimkv =>


* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:8>

Django

unread,
Jul 15, 2016, 5:11:00 AM7/15/16
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
-------------------------------+------------------------------------
Reporter: EvilDMP | Owner:

Type: New feature | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by cadu-leite):

Replying to [comment:7 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
[https://github.com/harisibrahimkv/django/blob/3cbcca57465f0dbdf5265b0b80d0bf307ed4505e/docs/topics/auth/tutorial.txt
link to the article] is broken

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:9>

Django

unread,
May 29, 2021, 1:34:33 PM5/29/21
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+----------------------------------------
Reporter: Daniele Procida | Owner: Uttam-Singhh

Type: New feature | Status: assigned
Component: Documentation | Version: dev

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by Uttam-Singhh):

* cc: Uttam-Singhh (added)
* owner: (none) => Uttam-Singhh


* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:10>

Django

unread,
Jun 3, 2021, 10:07:30 PM6/3/21
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+---------------------------------------
Reporter: Daniele Procida | Owner: Uttam Singh

Type: New feature | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+---------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0
* needs_docs: 1 => 0


Comment:

Clearing flags for any new attempt when ready.

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:11>

Django

unread,
Apr 3, 2023, 6:56:59 AM4/3/23
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+----------------------------------------
Reporter: Daniele Procida | Owner: Akshat verma

Type: New feature | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+----------------------------------------
Changes (by Akshat verma):

* owner: (none) => Akshat verma


* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:12>

Django

unread,
Mar 18, 2024, 1:43:44 AM3/18/24
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+------------------------------------
Reporter: Daniele Procida | Owner: (none)
Type: New feature | Status: new
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Ülgen Sarıkavak):

* cc: Ülgen Sarıkavak (added)

Django

unread,
Oct 18, 2024, 6:21:30 AM10/18/24
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+------------------------------------
Reporter: Daniele Procida | Owner: (none)
Type: New feature | Status: new
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Clifford Gama):

* cc: Clifford Gama (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:13>

Django

unread,
Feb 21, 2025, 9:13:41 AMFeb 21
to django-...@googlegroups.com
#21292: A how-to or tutorial document for using authentication views and forms is
needed
---------------------------------+------------------------------------
Reporter: Daniele Procida | Owner: (none)
Type: New feature | Status: new
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Tim Graham):

I closed #36204 ("Request to Add User Login & Authentication Example to
the Official Django First Steps tutorial") as a duplicate.
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:14>
Reply all
Reply to author
Forward
0 new messages