def _sqlite_datetime_parse(dt, tzname):
    if dt is None:
        return None
    try:
        dt = backend_utils.typecast_timestamp(dt)
    except (ValueError, __HOLE__):
        return None
    if tzname is not None:
        dt = timezone.localtime(dt, pytz.timezone(tzname))
    return dt
dataset/ETHPy150Open django/django/django/db/backends/sqlite3/base.py/_sqlite_datetime_parse