Opened 19 years ago

Last modified 13 years ago

#1722 closed enhancement

Exclude filter for the admin — at Initial Version

Reported by: [530] Owned by: Adrian Holovaty
Component: contrib.admin Version: dev
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

class Amodel(models.Model):

    field = models.ManyToMany(SomeOtherModel)

    class Admin:
        list_filter = ('-field') # just like ordering

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top