Code

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:

Description

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

django.contrib.auth.models.Group:

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.

http://code.djangoproject.com/ticket/6089

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.