Maybe this can help you: https://docs.djangoproject.com/en/1.10/topics/db/aggregation/
On 3 November 2016 at 08:15, Awadhesh Meshram <awadh...@mnchost.com> wrote: > How to GROUP BY using any identical field in database in Django? > > -- > 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 django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/65f54a2e-8b73-43c2-b46a-8671747f2611%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFmXjSCVqcfHKu-UQisax_6cju0ZSOseKcXv_HBG%3DsqHjRRTGw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.