#10807: 'Constraint' object has no attribute 'relabel_aliases' when using | with
GeoQueryset
-----------------------------------+----------------------------------------
Reporter: bretthoerner | Owner:
Status: new | Milestone: 1.1
Component: GIS | Version: 1.1-beta-1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by bretthoerner):
Well, it looks like the first occurrence of the relabel_aliases error
(rather than Constraint is not iterable error in the above comment) is in
[9888],
{{{
Traceback (most recent call last):
File "../djtest/test.py", line 13, in <module>
print qs1 | qs2
File "/a/djtest/lib/python2.6/site-packages/django/db/models/query.py",
line 256, in __or__
combined.query.combine(other.query, sql.OR)
File "/a/djtest/lib/python2.6/site-
packages/django/db/models/sql/query.py", line 487, in combine
w.relabel_aliases(change_map)
File "/a/djtest/lib/python2.6/site-
packages/django/db/models/sql/where.py", line 222, in relabel_aliases
child[0].relabel_aliases(change_map)
AttributeError: 'Constraint' object has no attribute 'relabel_aliases'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/10807#comment:4>
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
-~----------~----~----~----~------~----~------~--~---