Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#13780 closed (invalid)

Admin site documentation should specify ordering directions

Reported by: anonymous Owned by: nobody
Component: Documentation Version: dev
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

The docs for the admin site don't mention ordering directions.

class AscendingStoryAdmin(admin.ModelAdmin):
	ordering = ('publishing_day',)

class DescendingStoryAdmin(admin.ModelAdmin):
	ordering = ('-publishing_day',)

They should. It's important and not obvious to everyone.

Change History (3)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed

comment:2 by Karen Tracey, 15 years ago

I think the complaint here might be that the doc in admin does not mention the ability to control ascending/descending. It just says in the same format as the model's ordering parameter. It might be nice if that ordering were a link to the doc for the model's ordering doc, but I don't see here any markup that allows us to cross-link to model meta option doc?

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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