Opened 15 years ago

Closed 15 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: no UI/UX: no

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

Change History (1)

comment:1 by Eric Holscher, 15 years ago

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.

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

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