I'm having a simple issue here trying to pull dates out of a database. I can only pull out double digit months eg. October, November, December but not single ...
Database: entry_date 2008-10-12 2008-09-12 DB API: month_1_count = all_sign_up.filter(entry_date__month=9).filter (entry_date__year=2008).count() That doesn't match and pull out the value but this works fine ... month_1_count = all_sign_up.filter(entry_date__month=10).filter (entry_date__year=2008).count() I'm probably missing something really simple here ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---