mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.8.x] Removed Query.raise_field_error()
This method was inadvertently reintroduced inf59fd15c49Backport of99ca7c2bd3from master
This commit is contained in:
		| @@ -1408,11 +1408,6 @@ class Query(object): | |||||||
|                 break |                 break | ||||||
|         return path, final_field, targets, names[pos + 1:] |         return path, final_field, targets, names[pos + 1:] | ||||||
|  |  | ||||||
|     def raise_field_error(self, opts, name): |  | ||||||
|         available = list(get_field_names_from_opts(opts)) + list(self.annotation_select) |  | ||||||
|         raise FieldError("Cannot resolve keyword %r into field. " |  | ||||||
|                          "Choices are: %s" % (name, ", ".join(available))) |  | ||||||
|  |  | ||||||
|     def setup_joins(self, names, opts, alias, can_reuse=None, allow_many=True): |     def setup_joins(self, names, opts, alias, can_reuse=None, allow_many=True): | ||||||
|         """ |         """ | ||||||
|         Compute the necessary table joins for the passage through the fields |         Compute the necessary table joins for the passage through the fields | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user