Re: DateField and DateTimefield do not really validate

2006-06-07 Thread Rudolph
Hi, Ok: http://code.djangoproject.com/ticket/2103 Cheers, Rudolph --~--~-~--~~~---~--~~ 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 unsubsc

Re: DateField and DateTimefield do not really validate

2006-06-06 Thread Jeremy Dunck
On 6/6/06, Rudolph <[EMAIL PROTECTED]> wrote: > When providing an invalid date like 2006-2-31 to a DateField or > DateTimeField, the validation doesn't catch that and an unhandled > exception is raised. It shouldn't be too hard to validate for valid > dates since you can rely on the Python datetim

DateField and DateTimefield do not really validate

2006-06-06 Thread Rudolph
Hi, When providing an invalid date like 2006-2-31 to a DateField or DateTimeField, the validation doesn't catch that and an unhandled exception is raised. It shouldn't be too hard to validate for valid dates since you can rely on the Python datetime module. I think this is a bug, or at least a m