rest_framework_gis support doesn't work if source points to a relationship #813
Labels
bug
Something isn't working
fix confirmation pending
issue has been fixed and confirmation from issue reporter is pending
Describe the bug
If I put a
GeometryField
on a serializer that has asource
likegeo.feature
, the rest_framework_gis extension can't walk that relationship and defaults to string type.To Reproduce
Here's a code example:
Expected behavior
I would expect that the relationship specified in
source
would be walked properly to identify the field type ofgeometry
The text was updated successfully, but these errors were encountered: