Open limonrojo-nm opened 2 years ago
@coddingtonbear could we have this merged and deployed on PiPY? Would be awesome :)
@coddingtonbear +1 currently need to copy/past, but better to have it unified and included into the package
Adds
MeasurementSerializerField
to be used with Django Rest Framework serializers. Please check setup.cfg in order to set DRF as a dependency. I'm not sure this is the correct use/syntax of this .cfg file Thanks
@limonrojo-nm
measurement_class
seems to be deprecated, perhaps need to change it to measurement
https://github.com/coddingtonbear/django-measurement/blob/b5b905fe4dd094679052b23eeea360c050e73c07/django_measurement/models.py#L41
Adds
MeasurementSerializerField
to be used with Django Rest Framework serializers. Please check setup.cfg in order to set DRF as a dependency. I'm not sure this is the correct use/syntax of this .cfg file Thanks