Django

Code

Changeset 7242

Show
Ignore:
Timestamp:
03/14/08 06:49:31 (8 months ago)
Author:
mtredinnick
Message:

queryset-refactor: Some goose left commented out code in [7240]. Nothing to see here. Move along.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/queryset-refactor/django/db/models/sql/query.py

    r7241 r7242  
    362362                        aliases.append(col.alias) 
    363363        elif self.default_cols: 
    364             #table_alias = self.tables[0] 
    365             #root_pk = self.model._meta.pk.column 
    366             #seen = {None: table_alias} 
    367             #for field, model in self.model._meta.get_fields_with_model(): 
    368             #    if model not in seen: 
    369             #        seen[model] = self.join((table_alias, model._meta.db_table, 
    370             #                root_pk, model._meta.pk.column)) 
    371             #    result.append('%s.%s' % (qn(seen[model]), qn(field.column))) 
    372364            result = self.get_default_columns(lambda x, y: "%s.%s" % (qn(x), qn(y))) 
    373365            aliases = result[:]