#36855: Field.pre_save() called twice during save() in Django 6.0 when inserting
new records
---------------------------------+------------------------------------
Reporter: Nino Walker | Owner: (none)
Type: Bug | Status: new
Component: Documentation | Version: 6.0
Severity: Release blocker | Resolution:
Keywords: pre_save | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Nino Walker):
Thank you for the prompt reply. The specific context was with the django-
gcp library, which I was testing for compatibility with 6.0. I haven't
been in the Django internals since 1.2, so I won't argue the virtues of
your position. Below is my exact context workaround:
https://github.com/ninowalker/django-gcp/pull/2/changes
Specific workaround: https://github.com/ninowalker/django-
gcp/pull/2/changes#diff-
d92dddc7dd622b9917b9a6f5b0a4dee29f5c8d5c1870831953399c681626d9ac
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/36855#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019ba3794a99-b3ff5a2d-9ff1-43e1-ad80-8b3cb0f93836-000000%40eu-central-1.amazonses.com.