Hi Issuer, Bc of you use ORDER BY with .date field so it must include in GROUP BY claude.
On Sat, Oct 19, 2019, 09:09 thinkwell <[email protected]> wrote: > Thanks for your reply James. I wasn't able to get it to work. > > I posted on the new Django forum > <https://forum.djangoproject.com/t/arbitrary-group-by-fields-for-partitioned-table/369> > because it's easier to format code examples over there. Hopefully that > clarifies things more... > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/9d55c47a-c2a9-481e-82b8-d4302f4bec86%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/9d55c47a-c2a9-481e-82b8-d4302f4bec86%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP5HUWou9MO-sibuntv-O%2BtM2SD%2BDpWhn0OQboF%3Dupf_z5PR3Q%40mail.gmail.com.

