Repository navigation
pip install adminsite==0.8.0
A choice or a link to one record with many options is now a picker on forms, as a choice filter is in the filters drawer: a country among 250 or a time zone among 600 is found by typing any part of its name.
Before upgrading:
- A project that overrides
base.html,widgets/select.html,widgets/relation.htmlorwidgets/_picker.htmlshould start its copy again from the new one.
What changed:
- On a form, a choice or a link to one record with more than 10 options is a picker, as a choice filter is: a box that narrows the options as you type, with every option in the page (#119). One of 10 or fewer stays a select, and a link among more than 100 records still searches as you type. The same goes for inline rows, action dialogs, the editor a list cell opens and the form of a JSON document.
- On a new record, a JSON field whose schema follows the record is drawn again when a picker changes, as it already was when a select changed.