

def __init__(self, verbose_name=None, name=None, timezone=None, **kwargs):
    if isinstance(timezone, basestring):
        timezone = smart_str(timezone)
    if (timezone in pytz.all_timezones_set):
        self.timezone = pytz.timezone(timezone)
    else:
        self.timezone = timezone
    super(LocalizedDateTimeField, self).__init__(verbose_name, name, **kwargs)

dataset/ETHPy150Open davemerwin/blue-channel/external_apps/timezones/fields.py LocalizedDateTimeField.__init__/original