Changes between Initial Version and Version 1 of Ticket #26112


Ignore:
Timestamp:
Jan 21, 2016, 4:08:33 AM (9 years ago)
Author:
Daniel Wiesmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26112 – Description

    initial v1  
    1212https://github.com/django/django/blob/master/django/contrib/gis/db/models/fields.py#L259
    1313
    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.
     14The 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.
    1515
    1616I'll open a pull request with a regression test and a proposed solution, basically checking if the value is a float or int.
Back to Top