def get_db_prep_save(self, value):
        # Casts timezone into string format for entry into database.
        if value is not None:
            value = smart_unicode(value)
        return super(TimeZoneField, self).get_db_prep_save(value)
dataset/ETHPy150Open davemerwin/blue-channel/external_apps/timezones/fields.py/TimeZoneField.get_db_prep_save/original