Opened 16 years ago
Closed 16 years ago
#12854 closed (wontfix)
Group ordering in contrib.auth.models.Group
| Reported by: | 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']
Note:
See TracTickets
for help on using tickets.
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