Opened 8 years ago

Last modified 8 years ago

#27544 closed Bug

F() Expressions updating dates in .update() field fails — at Initial Version

Reported by: Gary Graham Owned by: nobody
Component: Database layer (models, ORM) Version: 1.10
Severity: Normal Keywords: F()
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Upon upgrading from 1.8 -> 1.10, I noticed that some code I had written now threw an error. Specifically, attempting to update datetime field's via F expression.

Bisect log, about 3000 commits back -> https://dpaste.de/HGYb

Branch with test showing regression -> https://github.com/tadgh/django/commit/c31133261c68b10525b8e3b34e6895a0c6ece4d0

Apparent first commit where regression occurs -> https://github.com/django/django/pull/4601/commits/ed83881e648771d22658f21b939f66e75c499864

Stacktrace from failure -> https://dpaste.de/DkSV

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top