#15294: Use named urls instead of hard coded ones in admin views
-------------------------------------+-------------------------------------
     Reporter:  julien               |                    Owner:  ramiro
         Type:  New feature          |                   Status:  closed
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ramiro Morales <cramm0@…>):

 In [changeset:"f51eab796d087439eedcb768cdd312517780940e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f51eab796d087439eedcb768cdd312517780940e"
 Fixed #18072 -- Made more admin links use reverse() instead of hard-coded
 relative URLs.

 Thanks kmike for the report and initial patch for the changelist->edit
 object view link URL.

 Other affected links include the delete object one and object history
 one (in this case the change had been implemented in commit 5a9e127, this
 commit adds admin-quoting of the object PK in a way similar to a222d6e.)

 Refs #15294.
 }}}

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to