netbox/netbox/wireless
bctiemann 0eb1fcc09c
Closes #22682: Fix CachedScopeMixin cache fields cascading on ancestor deletion (#22693)
CachedScopeMixin._region and ._site_group may cache ancestors of a
Site or Location scope. Change these relationships to SET_NULL so
deleting a Region or SiteGroup clears the cached value instead of
deleting the scoped Prefix, Cluster, or WirelessLAN.

Add reverse GenericRelation fields for Cluster and WirelessLAN on
Region and SiteGroup. This preserves the expected cascade when a
Region or SiteGroup is itself the direct scope, matching the existing
Prefix behavior.

Add migrations recording the ORM-level on_delete changes and regression
coverage for Site, Location, and direct Region/SiteGroup scopes.
2026-07-18 10:35:08 +02:00
..
api Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
forms Fixes #21578: Enable assignment of scope object by name when bulk importing prefixes/VLAN groups (#21671) 2026-03-13 16:27:26 -07:00
graphql refactor(graphql): Update filter lookups for strawberry-django 0.86 2026-06-16 08:50:03 -04:00
migrations Closes #22682: Fix CachedScopeMixin cache fields cascading on ancestor deletion (#22693) 2026-07-18 10:35:08 +02:00
tables Closes #20304: Object owners (#20634) 2025-10-24 13:08:01 -07:00
tests Closes #22682: Fix CachedScopeMixin cache fields cascading on ancestor deletion (#22693) 2026-07-18 10:35:08 +02:00
ui Closes #17127: Add user preference for metric/imperial measurements (#22246) 2026-05-22 11:16:10 -05:00
__init__.py Introduce the wireless app and SSID model 2021-10-12 12:48:36 -04:00
apps.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
choices.py 16547 Add distance to Circuit (#17629) 2024-10-10 14:37:33 -04:00
constants.py Add wireless authentication attributes 2021-10-20 10:58:15 -04:00
filtersets.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
models.py Add SQL indexes for default ordering on applicable models 2026-04-03 16:22:18 -04:00
search.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
signals.py fix(wireless): Correct attribute check in WirelessLink signal handler 2026-05-14 08:07:38 -04:00
urls.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
utils.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
views.py Closes #21929: Eliminate redundant object view templates (#21930) 2026-04-20 09:38:41 -07:00