How to filter multiple option in a admin.py,
Models.py
banana_name = models.CharField(max_length=255, verbose_name=_("Banana Name"))
Admin.py
list_filter = [
"banana_name",
]
in banana_name there are multiple banana name, right now i can select one banana name at a time or all or none at a time.
Try to use this one: django-more-admin-filters
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.