summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorrimi0108 <hyerimc858@gmail.com>2025-10-04 13:52:59 +0900
committerJacob Walls <jacobtylerwalls@gmail.com>2025-12-03 15:04:52 -0500
commit93540b34d4ef46f68df2c8bfe90447d0f649a852 (patch)
tree93967647a5590ec653372f38cfb7123166d819c3 /django/test
parentddb7236b0ae9be3163c90f799fb79396e9f61cc8 (diff)
Fixed #35729 -- Enabled natural key serialization opt-out for subclasses.
Refactored serialization logic to allow models inheriting a natural_key() method (e.g. AbstractBaseUser) to explicitly opt out of natural key serialization by returning an empty tuple from the method. Thanks Jonas Dittrich for the report. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Diffstat (limited to 'django/test')
0 files changed, 0 insertions, 0 deletions