def validate_date(self, datestring):
    'Inbound date string from CSV translates to a valid python date.'
    try:
        date_obj = datetime.datetime.strptime(datestring, '%Y-%m-%d')
        return date_obj
    except ValueError:
        return False
Inbound date string from CSV translates to a valid python date.
def validate_date(self, datestring):
    
    try:
        date_obj = datetime.datetime.strptime(datestring, '%Y-%m-%d')
        return date_obj
    except ValueError:
        return False