#16716: Regression in admin changelist with failing related admin filters
------------------------------------+---------------------------------
               Reporter:  julien    |          Owner:  nobody
                   Type:  Bug       |         Status:  closed
              Milestone:            |      Component:  contrib.admin
                Version:  1.3       |       Severity:  Release blocker
             Resolution:  fixed     |       Keywords:
           Triage Stage:  Accepted  |      Has patch:  0
    Needs documentation:  0         |    Needs tests:  0
Patch needs improvement:  0         |  Easy pickings:  0
                  UI/UX:  0         |
------------------------------------+---------------------------------
Changes (by julien):

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


Comment:

 In [16705]:
 {{{
 #!CommitTicketReference repository="" revision="16705"
 Fixed #16716 -- Fixed two small regressions in the development version
 introduced in r16144 where the changelist crashed with a 500 error instead
 of nicely operating a 302 redirection back to the changelist.

 The two specific cases were:

 * a lookup through a non-existing field and apparently spanning multiple
 relationships (e.g. "?nonexistant__whatever=xxxx").
 * a proper list_filter's queryset failing with an exception. In Django 1.3
 the queryset was only directly manipulated by the changelist, whereas in
 1.4 the list_filters may manipulate the queryset themselves. The fix here
 implies catching potential failures from the list_filters too.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16716#comment:4>
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 this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to