Changeset 2803 for django/branches/magic-removal/django/db/models/query.py
- Timestamp:
- 05/01/06 18:27:46 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/magic-removal/django/db/models/query.py
r2754 r2803 428 428 # Use the database table as a column prefix if it wasn't given, 429 429 # and if the requested column isn't a custom SELECT. 430 if "." not in col_name and col_name not in [k[0] for k in (self._select or ())]:430 if "." not in col_name and col_name not in (self._select or ()): 431 431 table_prefix = backend.quote_name(opts.db_table) + '.' 432 432 else:
