Django

Code

Ticket #1017 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

Small change in Admin's behavior

Reported by: eugene@lazutkin.com Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

New (current) Admin has different behavior in regards of many-to-one relationships. When editing a document with meta.ForeignKey (cannot be NULL), a listbox is presented. Old Admin selected a related object by default, if only one object was available. New Admin presents "unselected" listbox forcing user to select the single object manually. I think it is better to simulate the former behavior.

Attachments

Change History

12/08/05 20:25:19 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [1575]) Fixed #1017 -- Admin now selects single choice for ForeignKey? fields if only one choice is available. Thanks for reporting, Eugene


Add/Change #1017 (Small change in Admin's behavior)




Change Properties
Action