#25708: cannot annotate with geometry value
----------------------------+--------------------------------------
     Reporter:  sir-sigurd  |                    Owner:  sir-sigurd
         Type:  Bug         |                   Status:  assigned
    Component:  GIS         |                  Version:  1.8
     Severity:  Normal      |               Resolution:
     Keywords:              |             Triage Stage:  Accepted
    Has patch:  1           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+--------------------------------------

Comment (by sir-sigurd):

 Replying to [comment:9 jarshwah]:

 I don't quite understand your answer.
 Are you speaking about using `GeomValue` internally only or providing it
 to users?

 Is `Value(Point(1,1), output_field=GeometryField())` valid? I can't get a
 definite answer from the
 [https://docs.djangoproject.com/en/1.9/ref/models/expressions/#value-
 expressions docs], but IMO if `SomeField()` accepts `some_value` then
 `Value(some_value, output_field=SomeField())` should be valid.

--
Ticket URL: <https://code.djangoproject.com/ticket/25708#comment:10>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.45ebedb46e85553b2c973bb5a74d87be%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to