SIGN IN SIGN UP

fix(models): Normalize update_fields to prevent iterable consumption

Introduces normalize_update_fields() utility to materialize one-shot
iterables like generators into frozensets, preventing bugs in save()
overrides that perform membership tests. Fixes channelization cascades,
module moves, and ltree parent tracking when using generator
expressions.

Fixes #23074
M
Martin Hauser committed
f64bf0b217dd5e150ee42eeed2268c342ac4d1ef
Parent: ab9bd6f
Committed by Jeremy Stretch <jstretch@netboxlabs.com> on 8/31/2026, 5:50:59 PM