Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13780 closed (invalid)

Admin site documentation should specify ordering directions

Reported by: anonymous Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 6 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

comment:2 Changed 6 years ago by Karen Tracey

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 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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