[Django] #27276: Document how to reverse the admin's login view

12 views
Skip to first unread message

Django

unread,
Sep 26, 2016, 9:16:50 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
------------------------------------------------+------------------------
Reporter: Baptiste Mispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
The documentation at
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#reversing-admin-
urls explains how to reverse all the admin views except the login one.

Unsurprisingly, that view can be reversed using the URL name `login` and
as far as I know, it doesn't take any parameters.

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

Django

unread,
Sep 26, 2016, 9:51:01 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
--------------------------------------+------------------------------------

Reporter: Baptiste Mispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

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

* stage: Unreviewed => Accepted


Comment:

The documentation was overlooked when the named `url()` for `login` was
added in 5848bea9dc9458a9517d4c98993d742976771342.

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

Django

unread,
Sep 26, 2016, 10:00:09 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Jonatas
Type: | CD
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10

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

* owner: nobody => Jonatas CD
* status: new => assigned


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

Django

unread,
Sep 26, 2016, 10:31:11 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Jonatas
Type: | CD
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jonatas CD):

* has_patch: 0 => 1


Comment:

Fixed with https://github.com/django/django/pull/7295

This is my first django contribution.

cheers,
Jonatas CD

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

Django

unread,
Sep 26, 2016, 10:38:49 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Jonatas
Type: | CD
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"6d6d1b10017d4f0ade761fb07c78c146e3008d65" 6d6d1b10]:
{{{
#!CommitTicketReference repository=""
revision="6d6d1b10017d4f0ade761fb07c78c146e3008d65"
Fixed #27276 -- Doc'd how to reverse admin's login view.
}}}

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

Django

unread,
Sep 26, 2016, 10:39:06 AM9/26/16
to django-...@googlegroups.com
#27276: Document how to reverse the admin's login view
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Jonatas
Type: | CD
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"76155b85e2ce6bc3076ee9942355f1802cf3253d" 76155b85]:
{{{
#!CommitTicketReference repository=""
revision="76155b85e2ce6bc3076ee9942355f1802cf3253d"
[1.10.x] Fixed #27276 -- Doc'd how to reverse admin's login view.

Backport of 6d6d1b10017d4f0ade761fb07c78c146e3008d65 from master
}}}

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

Reply all
Reply to author
Forward
0 new messages