﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34960	Document how to set nulls_last=True for admin_order_field/ordering	Petr Dlouhý	nobody	"Django in https://code.djangoproject.com/ticket/30981 added possibility to set `nulls_last=True` for field ordering in `ModelAdmin` as:

{{{
my_model_admin.admin_order_field = F('field').desc(nulls_last=True)
}}}

or

{{{
@admin.display(ordering=F('field').desc(nulls_last=True))
}}}

but I can't any mention of it at https://docs.djangoproject.com/en/4.2/ref/contrib/admin/.
In fact I had to find the original issue I report it to set this up correctly.

Would it be possible to mention all possible values of admin_order_field/ordering in the documentation?"	Cleanup/optimization	closed	Documentation	4.2	Normal	wontfix			Unreviewed	0	0	0	0	0	0
