﻿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
16641	Ordering not used on ForeignKeyField form field RadioSelect widget	zyegfryed@…	nobody	"Hi,

I've spotted some inconsistency using the ''ordering'' option on **Admin**. By default, django.contrib.admin doesn't use the Admin ordering option when displaying a ForeignKeyField form field. However, when ordering is specified on model's Meta ordering option, the ordering appears.

Is that a bug or a feature ? Meaning : should the form field ordering follow the model's Meta definition, or should the admin's ordering option supersede the model's one ? (I thought about the later, thus this ticket.)

Example:
{{{
User(models.Model):
  class Meta:
    ordering = ('username', ) -> sort RadioSelect widget by username

UserAdmin(admin.ModelAdmin):
  ordering = ('username', ) -> sort only list view by username
}}}


"	Bug	closed	contrib.admin	1.3	Normal	duplicate	admin, ordering, foreignkey		Unreviewed	0	0	0	0	0	0
