#26333: GIS geometries classes should be deconstructibles.
-------------------------------------+-------------------------------------
     Reporter:  simondrabble         |                    Owner:  niconoe
         Type:  Bug                  |                   Status:  assigned
    Component:  GIS                  |                  Version:  1.8
     Severity:  Normal               |               Resolution:
     Keywords:  makemigration gis    |             Triage Stage:  Accepted
  point pointfield                   |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by charettes):

 I can still reproduce against the master branch.

 The `Point` is still converted to a tuple of floats (which simply drops
 the `srid`) and `migrate` crash if the field's default is actually used
 (e.g. `AddField` instead of `CreateModel` where it's simply ignored).

 Have a look at this test app for more details:
 https://github.com/charettes/django-
 ticketing/commit/dac11b52249e7a061fea81944a5f11e2b92cee86

--
Ticket URL: <https://code.djangoproject.com/ticket/26333#comment:4>
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/070.5ae5cb6fbc182f3d1dc2d36a0fd99aed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to