#18530: Inconsistent error handling on admin filter url's
-------------------------------+--------------------------------------
     Reporter:  david@…        |                    Owner:  nobody
         Type:  Bug            |                   Status:  reopened
    Component:  contrib.admin  |                  Version:  1.4
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by david@…):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 It appears linked to having a list_filter on the tested date such as
 list_filter = ['date']

 In the django regression test you linked, try changing
 
[https://github.com/django/django/blob/master/tests/regressiontests/admin_views/admin.py
 admin.py]

 {{{
 class ThingAdmin(admin.ModelAdmin):
     list_filter = ('color__warm', 'color__value')
 }}}
 to
 {{{
 class ThingAdmin(admin.ModelAdmin):
     list_filter = ('color__warm', 'color__value', 'date')
 }}}
 then you should get the error.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18530#comment:2>
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