mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Added '*' to quote_cache
The commit for #18333 missed quote_cache default value for *. Refs #18333.
This commit is contained in:
		| @@ -21,7 +21,7 @@ class SQLCompiler(object): | |||||||
|         self.query = query |         self.query = query | ||||||
|         self.connection = connection |         self.connection = connection | ||||||
|         self.using = using |         self.using = using | ||||||
|         self.quote_cache = {} |         self.quote_cache = {'*': '*'} | ||||||
|         # When ordering a queryset with distinct on a column not part of the |         # 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 |         # select set, the ordering column needs to be added to the select | ||||||
|         # clause. This information is needed both in SQL construction and |         # clause. This information is needed both in SQL construction and | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user