Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27276 closed Cleanup/optimization (fixed)

Document how to reverse the admin's login view

Reported by: Baptiste Mispelon Owned by: Jonatas CD
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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.

Change History (5)

comment:1 by Tim Graham, 8 years ago

Triage Stage: UnreviewedAccepted

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

comment:2 by Jonatas CD, 8 years ago

Owner: changed from nobody to Jonatas CD
Status: newassigned

comment:3 by Jonatas CD, 8 years ago

Has patch: set

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

This is my first django contribution.

cheers,
Jonatas CD

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 6d6d1b10:

Fixed #27276 -- Doc'd how to reverse admin's login view.

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 76155b85:

[1.10.x] Fixed #27276 -- Doc'd how to reverse admin's login view.

Backport of 6d6d1b10017d4f0ade761fb07c78c146e3008d65 from master

Note: See TracTickets for help on using tickets.
Back to Top