netbox/netbox/utilities/forms
Jeremy Stretch 8d7889e2c0
Closes #19002: Module type profiles (#19014)
* Move Module & ModuleType models to a separate file

* Add ModuleTypeProfile & related fields

* Initial work on JSON schema validation

* Add attributes property on ModuleType

* Introduce MultipleOfValidator

* Introduce JSONSchemaProperty

* Enable dynamic form field rendering

* Misc cleanup

* Fix migration conflict

* Ensure deterministic ordering of attriubte fields

* Support choices & default values

* Include module type attributes on module view

* Enable modifying individual attributes via REST API

* Enable filtering by attribute values

* Add documentation & tests

* Schema should be optional

* Include attributes column for profiles

* Profile is nullable

* Include some initial profiles to be installed via migration

* Fix migrations conflict

* Fix filterset test

* Misc cleanup

* Fixes #19023: get_field_value() should respect null values in bound forms (#19024)

* Skip filters which do not specify a JSON-serializable value

* Fix handling of array item types

* Fix initial data in schema field during bulk edit

* Implement sanity checking for JSON schema definitions

* Fall back to filtering by string value
2025-04-01 12:05:06 -05:00
..
fields Closes #18045: Enable adding a new MAC to an interface via quick add (#18200) 2024-12-16 10:57:09 -05:00
widgets Closes #18045: Enable adding a new MAC to an interface via quick add (#18200) 2024-12-16 10:57:09 -05:00
__init__.py Closes #12246: General cleanup of utilities modules 2023-04-14 10:33:53 -04:00
bulk_import.py Move choice sets from utilities.choices to netbox.choices 2024-03-22 08:59:52 -04:00
constants.py Refactor utility form resources into separate modules 2020-08-11 15:14:06 -04:00
forms.py Merge branch 'develop' into feature 2024-04-22 13:23:42 -04:00
mixins.py Closes #14740: Remove BootstrapMixin (#14841) 2024-01-19 14:02:33 -05:00
rendering.py Misc cleanup & documentation for FieldSets 2024-03-19 13:34:13 -04:00
utils.py Closes #19002: Module type profiles (#19014) 2025-04-01 12:05:06 -05:00