netbox/netbox/extras/api
Julio Oliveira at Encora 641f7ad7b3 Fixes #14755: ValueError in web UI after REST API accepts invalid cus… (#14804)
* Fixes #14755: ValueError in web UI after REST API accepts invalid custom-field choice-set data

* PR Comments Addressed

* Set max_length=2 on extra_choices items; remove custom validation logic

* Move test for invalid choices to CustomFieldChoiceSetTest

* Omit unused imports

---------

Co-authored-by: julio.oliveira <julio.oliveira@alertmedia.com>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-01-19 15:24:08 -05:00
..
__init__.py Initial push to public repo 2016-03-01 11:23:03 -05:00
customfields.py Closes #9608: Move from drf-yasg to spectacular 2023-03-30 14:32:59 -04:00
mixins.py Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint (#14287) 2023-11-17 08:32:58 -05:00
nested_serializers.py 14132 Add EventRule - change webhook and add in script processing to events (#14267) 2023-11-30 16:36:33 -05:00
serializers.py Fixes #14755: ValueError in web UI after REST API accepts invalid cus… (#14804) 2024-01-19 15:24:08 -05:00
urls.py 14132 Add EventRule - change webhook and add in script processing to events (#14267) 2023-11-30 16:36:33 -05:00
views.py 14132 Add EventRule - change webhook and add in script processing to events (#14267) 2023-11-30 16:36:33 -05:00