coddingtonbear / django-measurement

Easily store, retrieve, and convert measurements of weight, volume, distance, area and more.
MIT License
145 stars 32 forks source link

Let MeasurementField inherit from FloatField, change validation. #17

Closed herrbenesch closed 8 years ago

herrbenesch commented 8 years ago

There is no reason to not inherit from a FloatField. Min/max_value is dropped in the code and has been removed.

herrbenesch commented 8 years ago

@codingjoe Let's have a look together. I'm not sure what to remove from the model while we inherit from FloatField.

codingjoe commented 8 years ago

Released in 2.1.0