diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2013-09-24 23:00:31 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2013-09-24 23:00:31 +0300 |
| commit | 9027da65d3590a3bd319490d78c86ef09cd04f9e (patch) | |
| tree | c863ee12ebfd42efead5d783b739cacb8eea6169 | |
| parent | 68540fe4df44492571bc610a0a043d3d02b3d320 (diff) | |
Added '*' to quote_cache
The commit for #18333 missed quote_cache default value for *.
Refs #18333.
| -rw-r--r-- | django/db/models/sql/compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py index ba2c6c91b3..4d571b78fa 100644 --- a/django/db/models/sql/compiler.py +++ b/django/db/models/sql/compiler.py @@ -21,7 +21,7 @@ class SQLCompiler(object): self.query = query self.connection = connection self.using = using - self.quote_cache = {} + self.quote_cache = {'*': '*'} # When ordering a queryset with distinct on a column not part of the # select set, the ordering column needs to be added to the select # clause. This information is needed both in SQL construction and |
