#20640: `get_deleted_objects` causes an error if there is no change view.
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  koirikivi
  <django@…>                         |                   Status:  closed
         Type:  Bug                  |                  Version:  master
    Component:  contrib.admin        |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

 In [changeset:"3c0300405009b82b52fd15483371097221662fcd"]:
 {{{
 #!CommitTicketReference repository=""
 revision="3c0300405009b82b52fd15483371097221662fcd"
 Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects

 The default delete action resulted in a NoReverseMatch if it were to
 list any Model with a ModelAdmin with `get_urls` overridden to remove
 the change url.  Catching the error and not displaying the link in that
 case, as was already done for models with no registered admins.

 Thanks Keryn Knight for the report.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20640#comment:5>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/095.02a5c5db538feb9c0c26a1ad23130f25%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to