Opened 7 years ago

Closed 7 years ago

#12854 closed (wontfix)

Group ordering in contrib.auth.models.Group

Reported by: ryan.griffin@… Owned by: nobody
Component: Contrib apps Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I would like to order the groups by name. More specifically for ease of use in the User admin.


class Meta:
    verbose_name = _('group')
    verbose_name_plural = _('groups')
    ordering = ['name']

Change History (1)

comment:1 Changed 7 years ago by Eric Holscher

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: wontfix
Status: newclosed

You will notice this was removed in the past for performance reasons. Use a proxy model, or an order_by on your queryset.

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