#31506: Clarify that ExpressionWrapper is not the tool to use when coping with
DateField and timedelta arithmetic quirks on PostgreSQL and MySQL
-------------------------------------+-------------------------------------
Reporter: Matthieu Rigal | Owner: Hwayoung
Type: | Cha
Cleanup/optimization | Status: closed
Component: Documentation | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"55af4749b9a48b2978e893e7d7be313c0b2abdb1" 55af4749]:
{{{#!CommitTicketReference repository=""
revision="55af4749b9a48b2978e893e7d7be313c0b2abdb1"
Fixed #31506 -- Clarified that ExpressionWrapper does not perform database
casts.
Added warning in DateField documentation about type differences when using
timedelta on PostgreSQL and MySQL. Mentioned Cast() and integer arithmetic
solutions.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31506#comment:15>
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/0107019ac05e7165-953c53be-2826-4036-bc42-44d0fe90a572-000000%40eu-central-1.amazonses.com.