#29594: Support for TruncWeek Database function (Eliminating need for
QuerySet.extra)
-------------------------------------+-------------------------------------
Reporter: Jesse | Owner: nobody
Nieminen |
Type: | Status: new
Uncategorized |
Component: Database | Version: 1.11
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The [https://docs.djangoproject.com/en/1.11/ref/models/database-
functions/#trunc Trunc] database function now supports a number of
different kinds of timeframes but is notably lacking support for week.
This is also one of the more common use cases where it would be easy to
eliminate the need for using
[https://docs.djangoproject.com/en/1.11/ref/models/querysets/#extra
QuerySet.extra].
--
Ticket URL: <https://code.djangoproject.com/ticket/29594>
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/056.1b65a5ce6833dbd97622dfe1764400c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.