slashmili / django-jalali

Jalali DateField support for Django model
http://pypi.python.org/pypi/django_jalali
BSD 3-Clause "New" or "Revised" License
252 stars 52 forks source link

MyModel.objects.filter(datetime__month=4) #178

Closed mr-time2028 closed 2 years ago

mr-time2028 commented 2 years ago

I try <MyModel.objects.filter(datetime__month=4)> but it's not worked for me!!

hramezani commented 2 years ago

__month filter doesn't work in django jalali. I've explained the reason in my comment.