#33644: FAQ:Admin contains incorrect information regarding list-filters on
ManyToManyFields
-------------------------------------+-------------------------------------
               Reporter:  Dominik    |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  dev
  Documentation                      |       Keywords:  FAQ Admin list
               Severity:  Normal     |  filter manytomany
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 The FAQ about the admin page concerning
 [https://docs.djangoproject.com/en/dev/faq/admin/#my-list-filter-
 contains-a-manytomanyfield-but-the-filter-doesn-t-display list filters for
 ManyToManyFields] states that the filter won't display if there are fewer
 than two related objects, since filtering with only a single option would
 be meaningless.

 In reality however, the filter already displays when there is only one
 related object and (per default) adds a None option to filter for objects
 with no relations.

 The FAQ should probably state that the filter disappers when there are no
 related objects available, since in that case only the None option would
 remain, which would indeed be a meaningless filter.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33644>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180276b1db9-1ffc89bd-7ab4-43ae-b685-bfcc31100a39-000000%40eu-central-1.amazonses.com.

Reply via email to