Ticket #16409: 16409-geosqlcompiler.diff
File 16409-geosqlcompiler.diff, 728 bytes (added by , 13 years ago) |
---|
-
django/contrib/gis/db/models/sql/compiler.py
old new class GeoSQLCompiler(compiler.SQLCompile 37 37 if isinstance(col, (list, tuple)): 38 38 alias, column = col 39 39 table = self.query.alias_map[alias][TABLE_NAME] 40 if table in only_load and col umnnot in only_load[table]:40 if table in only_load and col not in only_load[table]: 41 41 continue 42 42 r = self.get_field_select(field, alias, column) 43 43 if with_aliases: