Use proper _geometry_type to fill field definition
Closes #12083 (grafted from a63b85de7f4d86ab83fc33f95d53c8e2cabe345f) --HG-- branch : 6.0
This commit is contained in:
1 parent
ea8477391a
commit
93499e3d0d
1 file changed
+1
-1
@@ -54,7 +54,7 @@ class Geometry(fields.Field):
|
||||
def definition(self, model, language):
|
||||
definition = super().definition(model, language)
|
||||
definition['dimension'] = self.dimension
|
||||
definition['geometry_type'] = self.geometry_type
|
||||
definition['geometry_type'] = self._geometry_type
|
||||
return definition
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user