

def validate(self, value, *args):
    super(HStoreField, self).validate(value, *args)
    forms.validate_hstore(value, is_serialized=hasattr(self, 'serializer'))

dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py HStoreField.validate/original