On 03-Aug-07, at 10:02 PM, Nis Jørgensen wrote:

>> how about surrounding the statement with a try and work the leap year
>> to regular year case with the exception?
> That seems like overkill. There isn't really any leap-year handling
> necessary:
>
> import datetime.date as date

this should be:
from datetime import date - the import statement above gives an error

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
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