Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added '*' to quote_cache

The commit for #18333 missed quote_cache default value for *.
Refs #18333.
  • Loading branch information...
commit 9027da65d3590a3bd319490d78c86ef09cd04f9e 1 parent 68540fe
@akaariai akaariai authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/sql/compiler.py
View
2  django/db/models/sql/compiler.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.