Clarify "new in" notes in ModelAdmin.list_filter documentation
|Reported by:||Antti Kaihola||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
In the documentation, post-1.3 changes to the ModelAdmin.list_filter API are now collectively marked as "Changed in Django Development version" just below the section title.
However, inside the section, "Field names in list_filter can also span relations using the __ lookup" is marked "New in Django 1.3", and e.g. "a class inheriting from django.contrib.admin.SimpleListFilter" is not marked at all.
This is a bit confusing. When we used
SimpleListFilter, we missed the fact that that particular feature was added post-1.3. Wouldn't it be better if every
list_filter feature was marked separately?
Change History (6)
comment:1 Changed 5 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Unreviewed → Accepted|