#22981: Fields with auto_now=True are not updated if the field name is not
present
in update_fields list passed into Model.save
-------------------------------------+-------------------------------------
Reporter: Josh Crompton | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by MisterGlass):
* version: 1.6 => 3.1
Comment:
Is there an appeals process I can submit to for this ticket to be
reopened? This is still an issue 6 years later. It seems like the only way
to create an auto updated_at field which will work is to add a custom
database trigger to each of my tables.
--
Ticket URL: <https://code.djangoproject.com/ticket/22981#comment:7>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/062.dee61c0adb7fb556b2a102f73f2bf565%40djangoproject.com.