#36982: Docs for `ModelAdmin.list_filter` don't mention bare `ListFilter`
subclasses as a valid element type
-------------------------------+------------------------------------------
     Reporter:  Alessio Bogon  |                    Owner:  Lakshya Prasad
         Type:  Bug            |                   Status:  closed
    Component:  Documentation  |                  Version:  6.0
     Severity:  Normal         |               Resolution:  invalid
     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 Jacob Walls):

 * has_patch:  1 => 0
 * resolution:   => invalid
 * status:  assigned => closed

Comment:

 I don't think we should do this, because `ListFilter` isn't documented,
 and the only main branch of other documented subclasses
 [https://docs.djangoproject.com/en/6.0/ref/checks/#:~:text=admin.E114%253A
 doesn't work here]:

 > admin.E114: The value of list_filter[n] must not inherit from
 FieldListFilter.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36982#comment:6>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d026d8010-b6a6079b-2dde-425d-93b2-ec4795ac88e0-000000%40eu-central-1.amazonses.com.

Reply via email to