Changes between Initial Version and Version 1 of Ticket #26112
- Timestamp:
- Jan 21, 2016, 4:08:33 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26112 – Description
initial v1 12 12 https://github.com/django/django/blob/master/django/contrib/gis/db/models/fields.py#L259 13 13 14 The problem seems to be that the ` Area` function returns a float, but the field is expecting a value that can be converted to a Geometry.14 The problem seems to be that the `Sum` function returns a float, but the field is expecting a value that can be converted to a Geometry. 15 15 16 16 I'll open a pull request with a regression test and a proposed solution, basically checking if the value is a float or int.