#27544: F() Expressions updating dates in .update() field fails on SQLite
-------------------------------------+-------------------------------------
Reporter: Gary Graham | Owner: Andrew
| Nester
Type: Bug | Status: closed
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: F() | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Florian Klink):
I also got hit by this one. I backported the commit to the stable/1.9.x
branch, you can find my [https://github.com/django/django/pull/7855 PR]
here.
Replying to [comment:8 Tim Graham <timograham@…>]:
> In [changeset:"75de55f1f381880348ad5215e15604a83f8971a5" 75de55f1]:
> {{{
> #!CommitTicketReference repository=""
revision="75de55f1f381880348ad5215e15604a83f8971a5"
> [1.10.x] Fixed #27544 -- Fixed QuerySet.update(dt=F('dt') + timedelta)
crash on SQLite.
>
> Backport of ade52ef71f04e57e217585358cb289098260e3ec from master
> }}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27544#comment:9>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.826128e1538aaa5ed1fd30bcbd48931f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.