Opened 4 years ago

Closed 4 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']

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by ericholscher

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.