Hi all,

I have a model with a date field. When I try to filter based on its
months like:

q1 = Event.objects.filter(start_date__month__in=[1, 2, 3])

I get an "unable to resolve field 'start_date__month'" error.

Is this usage not supported or is this a bug?

Any ideas?


Thanks,
oMat

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to