Closed royarturo closed 4 years ago
It would be nice if there is a property where I can dynamically decide if I want to include the geometry in the response.
Try with this: https://github.com/openwisp/django-rest-framework-gis#using-geometryserializermethodfield-as-geo_field
Closing because it's not a bug report. Feel free to ask more questions here.
It would be nice if there is a property where I can dynamically decide if I want to include the geometry in the response.