On Tue, 2008-09-02 at 08:38 -0700, Xiong Chiamiov wrote: > On a site of ours, we got a 500 on Aug 31 with the error: > > ImproperlyConfigured: Error while importing URLconf 'ee_website.urls': > day is out of range for month > > from this line: > > announcements = {'queryset': > Announcement.objects.filter(active=True,expire_date__gt=datetime.today()).order_by('- > publish_date')} > > Commenting it out, and the lines that depended on it, removed the > problem. > Reverting those changes on the 2nd produced a working site. > > I'm not in charge of the servers, but I believe that this one is > running an svn build that's no more than a few weeks old.
Without a repeatable example, it's impossible to debug stuff like this. Please come up with a small self-contained case that shows the failure (you might have to constuct a datetime object with a particular value, rather than datetime.today(), but since you know the date it failed on, that shouldn't be too difficult). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---