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.
* component: Uncategorized => Documentation
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:1>
Comment (by timo):
#22075 contains some suggestions related to this.
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:2>
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>
* 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>
* 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>
* owner: => harisibrahimkv
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:6>
* 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>
* owner: harisibrahimkv =>
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:8>
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>
* cc: Uttam-Singhh (added)
* owner: (none) => Uttam-Singhh
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:10>
* 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>
* owner: (none) => Akshat verma
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/21292#comment:12>