

def formfield(self, **kwargs):
    defaults = {
        'form_class': forms.LocalizedDateTimeField,
    }
    if ((not isinstance(self.timezone, basestring)) and (str(self.timezone) in pytz.all_timezones_set)):
        defaults['timezone'] = str(self.timezone)
    defaults.update(kwargs)
    return super(LocalizedDateTimeField, self).formfield(**self)

dataset/ETHPy150Open davemerwin/blue-channel/external_apps/timezones/fields.py LocalizedDateTimeField.formfield/VarMisuse@87/106 `defaults`->`self`