Thanks, got it. On Tue, Apr 6, 2021 at 2:20 PM Derek <gamesb...@gmail.com> wrote:
> Have a look at the last answer in this SO question: > > https://stackoverflow.com/questions/8414584/how-to-get-month-of-a-date-in-a-django-queryset/43505881 > > > On Sunday, 4 April 2021 at 07:32:41 UTC+2 azharul.t...@gmail.com wrote: > >> Hello , >> I am trying to get only month name and count number from *QuerySet [{'month': >> datetime.datetime(2021, 3, 1, 0, 0, tzinfo=<DstTzInfo 'Asia/Dhaka' >> +06+6:00:00 STD>), 'count': 2 }]* >> >> As here have (2021, 3, 1,0,0) but I want only 3 or March. and count 2 >> >> How can i view the month and count only, please? >> >> Thanks in advance. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/KIrBLEfAeNE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f47b9d96-f10e-4225-9abd-d59e9e6f70bdn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f47b9d96-f10e-4225-9abd-d59e9e6f70bdn%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 django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMME6GM8KKdD3L_YP%2BWfpXH3vvrSLxLeTJ0vFF%3DuA1OKmOeEwA%40mail.gmail.com.