Changeset 7467
- Timestamp:
- 04/26/08 00:06:21 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/queryset-refactor/django/db/models/sql/query.py
r7466 r7467 1009 1009 Can also be used to add anything that has an 'add_to_query()' method. 1010 1010 """ 1011 if used_aliases is None: 1012 used_aliases = set() 1011 1013 if hasattr(q_object, 'add_to_query'): 1012 1014 # Complex custom objects are responsible for adding themselves. 1013 q_object.add_to_query(self )1015 q_object.add_to_query(self, used_aliases) 1014 1016 return 1015 1017 … … 1020 1022 subtree = False 1021 1023 connector = AND 1022 if used_aliases is None:1023 used_aliases = set()1024 1024 for child in q_object.children: 1025 1025 if isinstance(child, Node):
