#28341: GeometryField doesn't create GEOSGeometry objects lazily anymore
-------------------------------------------+------------------------
Reporter: Sergey Fedoseev | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
Bisected to e9103402c0fa873aea58a6a11dba510cd308cb84 on test project with
this script:
{{{
import mock
import sys
with mock.patch('django.utils.six.moves.html_parser'):
import django
from django.test import TestCase
from django.contrib.gis.geos import Point
from test_app.models import City
def side_effect(*args, **kwargs):
sys.exit(1)
django.setup()
with mock.patch('django.contrib.gis.db.models.fields.Geometry.__init__',
side_effect=side_effect):
City.objects.first()
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28341>
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/053.7a88e6f1175f01ffdbd4b1e861829b9a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.