gizo wrote: > With all due respect, this doesn't attend to my question.
oh, sorry, I thought your question was "timedelta doesn't allow for months, does it?" to which the answer is "no, because adding a month isn't a well-defined concept". > Why can I use MySQLdb from python to run a date_add query, but not run > the same query from Django? > I don't see the point in using a workaround for a query that I should > be able to call through MySQL.... are you sure that your MySQL's query is generating a valid date? since MySQL doesn't check the result, but datetime refuses to create datetime objects for invalid dates, it's probably quite easy to get a ValueError exception from that MySQL operation around this time of the year... </F> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---