Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed unused variable from sql/query.py

  • Loading branch information...
commit 76c3314b6de15dd78eaa5c61aba1444a87084b87 1 parent cec6bd5
Anssi Kääriäinen authored April 29, 2012

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  django/db/models/sql/query.py
2  django/db/models/sql/query.py
@@ -104,7 +104,6 @@ def __init__(self, model, where=WhereNode):
104 104
         self.alias_map = {}     # Maps alias to join information
105 105
         self.table_map = {}     # Maps table names to list of aliases.
106 106
         self.join_map = {}
107  
-        self.quote_cache = {}
108 107
         self.default_cols = True
109 108
         self.default_ordering = True
110 109
         self.standard_ordering = True
@@ -243,7 +242,6 @@ def clone(self, klass=None, memo=None, **kwargs):
243 242
         obj.alias_map = self.alias_map.copy()
244 243
         obj.table_map = self.table_map.copy()
245 244
         obj.join_map = self.join_map.copy()
246  
-        obj.quote_cache = {}
247 245
         obj.default_cols = self.default_cols
248 246
         obj.default_ordering = self.default_ordering
249 247
         obj.standard_ordering = self.standard_ordering

0 notes on commit 76c3314

Please sign in to comment.
Something went wrong with that request. Please try again.