Skip to content

Commit

Permalink
Added '*' to quote_cache
Browse files Browse the repository at this point in the history
The commit for #18333 missed quote_cache default value for *.
Refs #18333.
  • Loading branch information
akaariai committed Sep 24, 2013
1 parent 68540fe commit 9027da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/models/sql/compiler.py
Expand Up @@ -21,7 +21,7 @@ def __init__(self, query, connection, using):
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
Expand Down

0 comments on commit 9027da6

Please sign in to comment.