netbox/netbox/dcim
Daniel Sheppard c08784da46
Fixes #11460 - Fix unterminated cable exception when editing cable (#15813)
* Fix cable edit form with single unterminated cable

* Minor tweaks

* Instead of skipping HTMX, override the template & move form template to an "htmx" template

* Use HTMXSelect widget for A/B type selection

* Infer A/B termination types from POST data

* Fix saving cable which results in resetting of the termination type fields

* Condense view logic

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-05-01 14:24:50 -04:00
..
api 15803 localize help_text (#15804) 2024-04-22 11:42:20 -04:00
forms Fixes #11460 - Fix unterminated cable exception when editing cable (#15813) 2024-05-01 14:24:50 -04:00
graphql 14511 Fix connected endpoints for GraphQL 2024-01-25 08:47:32 -05:00
management Feature - Schema Generation (#13353) 2023-08-11 11:00:26 -04:00
migrations Merge branch 'develop' into feature 2023-12-27 16:34:38 -05:00
models Refactor 32264ac3 to re-separate bulk and single device creation. Fixes #15598. 2024-04-04 14:01:55 -04:00
svg account for swapped terminations in cable object 2024-01-10 14:29:46 +01:00
tables Merge pull request #13874 from pv2b/choices-css-rewrite 2024-04-22 21:45:15 -05:00
tests Added installed_module on NestedModuleBaySerializer (#15245) 2024-02-23 15:54:47 -05:00
__init__.py Remove default_app_config (deprecated in Django 3.2) 2021-09-15 11:18:47 -04:00
apps.py Closes #13269: Cache component template counts on device types 2023-07-25 16:38:05 -04:00
choices.py Closes #14206: Add FC SFP types 2024-03-12 09:03:42 -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 Fixes: #14058 - Limits platform selection to manufacturer and platforms with no manufacturer (#15183) 2024-02-20 09:28:15 -05:00
lookups.py Introduce PathContains lookup to allow filtering against objects in path directly 2020-10-06 09:41:45 -04:00
search.py Closes #14503: Include additional display attributes for search indexers 2023-12-21 14:36:42 -05:00
signals.py 12474 update cable terminations when moving location between sites 2023-06-15 08:53:06 -04:00
urls.py Fixes #11528: Permit import of devices using uploaded file 2023-01-25 09:55:45 -05: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 Fixes #11460 - Fix unterminated cable exception when editing cable (#15813) 2024-05-01 14:24:50 -04:00