#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 , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 14 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?
Note:
See TracTickets
for help on using tickets.
I beg to differ.