#26696: QuerySet.extra: group by weekday on a date field
-------------------------------------+-------------------------------------
Reporter: karolyi | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: day of week weekday | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by karolyi):
Thx @charettes,
I got helped on #django-dev, the same information was told. Using Func
solved my problem, however it's mysql specific, so I don't consider it a
future proof solution.
I'll change it when 1.10 is out. Until then, I can use it this way.
--
Ticket URL: <https://code.djangoproject.com/ticket/26696#comment:3>
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/065.c938179c0c3a64cec2957a3e0a6aad1f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.