netbox/netbox/utilities/testing
Jeremy Stretch d809644c4d Closes #12194: Add pre-defined custom field choices (#13219)
* Initial work on custom field choice sets

* Rename choices to extra_choices (prep for #12194)

* Remove CustomField.choices

* Add & update tests

* Clean up table columns

* Add order_alphanetically boolean for choice sets

* Introduce ArrayColumn for choice lists

* Show dependent custom fields on choice set view

* Update custom fields documentation

* Introduce ArrayWidget for more convenient editing of choices

* Incorporate PR feedback

* Misc cleanup

* Initial work on predefined choices for custom fields

* Misc cleanup

* Add IATA airport codes

* #13241: Add support for custom field choice labels

* Restore ArrayColumn

* Misc cleanup

* Change extra_choices back to a nested ArrayField to preserve choice ordering

* Hack to bypass GraphQL API test utility absent support for nested ArrayFields
2023-07-28 11:24:21 -04:00
..
__init__.py Introduce BaseFilterSetTests to standardize testing of PK filters 2021-05-03 14:36:44 -04:00
api.py Closes #12194: Add pre-defined custom field choices (#13219) 2023-07-28 11:24:21 -04:00
base.py Closes #12194: Add pre-defined custom field choices (#13219) 2023-07-28 11:24:21 -04:00
filtersets.py Closes #9858: ChangeLoggedModelFilterSet cleanup 2022-07-28 15:41:10 -04:00
utils.py 12794 change User ref to get_user_model (#12905) 2023-06-22 08:26:50 -04:00
views.py 12589 move user and group admin from admin (#12877) 2023-07-20 16:22:08 -04:00