Skip to content

Conversation

@limonrojo-nm
Copy link

@limonrojo-nm limonrojo-nm commented Jan 5, 2022

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

Adds `MeasurementSerializerField` to be used with [Django Rest Framework](https://www.django-rest-framework.org/) serializers.
@browser-bug
Copy link

@coddingtonbear could we have this merged and deployed on PiPY? Would be awesome :)

@nnmer
Copy link

nnmer commented Mar 9, 2024

@coddingtonbear +1
currently need to copy/past, but better to have it unified and included into the package

@nnmer
Copy link

nnmer commented Mar 9, 2024

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

'"measurement_class" will be removed in version 4.0', DeprecationWarning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants