#7126: select_related(field) doesn't correctly SELECT GIS fields on MySQL/Oracle
------------------------------------------+---------------------------------
Reporter: [email protected] | Owner: jbronn
Status: closed | Milestone:
Component: GIS | Version: gis
Resolution: worksforme | Keywords: select_related gis
oracle mysql
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
------------------------------------------+---------------------------------
Changes (by jbronn):
* status: reopened => closed
* resolution: => worksforme
Comment:
Replying to [comment:9 sdonk]:
> I'm getting the same error using Python2.6, Django 1.2.4 and MySQL
5.1.49
I'm unable to reproduce. Ensure your models have `objects =
models.GeoManager()` and that there's no corrupt data in your MySQL
geometry columns.
A similar error message does not imply that this bug has regressed -- the
current test suite
[http://code.djangoproject.com/browser/django/trunk/django/contrib/gis/tests/relatedapp/tests.py#L12
checks for] (and passes on) the conditions described in this ticket. If
think your problem is still a bug, open up a new ticket with clear
instructions and code describing how to reproduce.
--
Ticket URL: <http://code.djangoproject.com/ticket/7126#comment:10>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.