coddingtonbear / django-measurement

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

Allow fields to be optional i.e Null/Blank #85

Closed BuildWithLal closed 5 years ago

BuildWithLal commented 5 years ago

I want to create measurement fields as optional with default value set to Null. As measurement field extends from FloatField which cannot be set to null=True or blank=True but instead to be a float value If user don't set a value, i don't want to set some default float value or 0 or any other default value number.

any way to handle empty values?