def datetime_cast_sql(self):
    "\n        Returns the SQL necessary to cast a datetime value so that it will be\n        retrieved as a Python datetime object instead of a string.\n\n        This SQL should include a '%s' in place of the field's name.\n        "
    return '%s'
Returns the SQL necessary to cast a datetime value so that it will be
retrieved as a Python datetime object instead of a string.

This SQL should include a '%s' in place of the field's name.
def datetime_cast_sql(self):
    "\n        Returns the SQL necessary to cast a datetime value so that it will be\n        retrieved as a Python datetime object instead of a string.\n\n        This SQL should include a '%s' in place of the field's name.\n        "
    return '%s'