#27812: When there is a DateTimeField django does not group by
-------------------------------------+-------------------------------------
Reporter: Fabio García | Owner: nobody
Sánchez |
Type: Bug | Status: new
Component: Database layer | Version: 1.10
(models, ORM) |
Severity: Normal | Resolution:
Keywords: queryset, group by | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Fabio García Sánchez):
Replying to [comment:3 Tim Graham]:
> Could you please provide the minimal models to reproduce it? Are you
using `Meta.ordering`? If so, you might be tripped up by the issue
described in #14357.
Tim thanks so much, that was the problem. I took away the ordering and it
works. I have not seen completely the issue #14357 but just with that it
works. Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/27812#comment:4>
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/068.2485caecbfb913478771869aa9467d71%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.