metadata.py
5.19 KB
-
Set field length/values as actual attributes. · c8609ba6
The SimpleMetadata class in metadata.py tries to getattr() attributes on a field. For this to work, max_length and min_length have to be actually set as an attribute. Did the same for min_value and max_value and added those two to SimpleMetadata.get_field_info
Rense VanderHoek committed