#33274: Point coordinates should accept Decimal
-------------------------------------+-------------------------------------
Reporter: Iulian Crudu | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: GIS | Version: 3.2
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* status: new => closed
* resolution: => wontfix
Comment:
Hi Iulian. Thanks for the report.
I'm going to say `wontfix` here initially. Loosening the accepted types
adds complexity, and it's not clear that only `Point` would need to be
adjusted.
Rather, I'd suggest casting your data before instantiating the `Point` (as
I presume you're doing).
It may be worth a post on the
[https://forum.djangoproject.com/c/internals/geodjango/13 GeoDjango
category of the Forum] to discuss your use-case and how best to
handle/support `Decimal` instances.
--
Ticket URL: <https://code.djangoproject.com/ticket/33274#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.d87c1b50ba977fdafeb62d426370155b%40djangoproject.com.