netbox/netbox/dcim
Arthur Hanson 5a6ffde67e
12826 Add Rack Type (#16739)
* 12826 add RackType

* 12826 add forms, filters, tables

* 12826 add to menu

* 12826 remove role

* 12826 add api/serializers

* 12826 add tests and fixes

* 12826 fix tests

* 12826 fix tests

* 12826 fix tests

* 12826 fix tests

* 12826 add device_type to device and instantiation

* 12826 test device creation

* 12826 add slug

* 12826 fix tests

* 12826 fix slug field

* 12826 prevent modification of rack fields if rack_type set

* 12826 update rack fields on rack_type edit

* Misc cleanup

* Update model docs

* Add manufacturer field to RackType

* Add test for mounting_depth

* Rename 'type' to 'form_factor'

* Create base classes for Rack & RackType models, serializers

* Hide RackType-defined fields on RackForm when a rack type is set

* Establish a base filter form for Rack & RackType

* Clean up RackType attr inheritance

* Clean up templates

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-07-16 08:58:22 -04:00
..
api 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
forms 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
graphql 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
management PEP8 cleanup 2024-01-05 13:08:37 -05:00
migrations 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
models 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
svg 15106 Add Length Field to Wireless Link (#16528) 2024-06-17 09:19:49 -04:00
tables 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
tests 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
__init__.py Remove default_app_config (deprecated in Django 3.2) 2021-09-15 11:18:47 -04:00
apps.py Closes #15042: Move model registration logic to AppConfigs (#15203) 2024-02-21 14:22:13 -05:00
choices.py 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
constants.py 12175 rack with starting unit > 1 (#12778) 2023-06-22 09:09:01 -04:00
fields.py 15094 Add missing gettext to error strings for internationalization (#15155) 2024-02-20 09:44:02 -05:00
filtersets.py 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
lookups.py Introduce PathContains lookup to allow filtering against objects in path directly 2020-10-06 09:41:45 -04:00
search.py 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
signals.py 12474 update cable terminations when moving location between sites 2023-06-15 08:53:06 -04:00
urls.py 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00
utils.py Fixes #9778: Fix exception during cable deletion after deleting a connected termination 2022-08-03 12:46:16 -04:00
views.py 12826 Add Rack Type (#16739) 2024-07-16 08:58:22 -04:00