mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[4.0.x] Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.
Backport of 1953dd02b6 from main
			
			
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							fbcd7df120
						
					
				
				
					commit
					7fa946c76b
				
			| @@ -358,6 +358,13 @@ You can chain other lookups after key lookups:: | ||||
| If the key you wish to query by clashes with the name of another lookup, you | ||||
| need to use the :lookup:`hstorefield.contains` lookup instead. | ||||
|  | ||||
| .. note:: | ||||
|  | ||||
|     Key transforms can also be chained with: :lookup:`contains`, | ||||
|     :lookup:`icontains`, :lookup:`endswith`, :lookup:`iendswith`, | ||||
|     :lookup:`iexact`, :lookup:`regex`, :lookup:`iregex`, :lookup:`startswith`, | ||||
|     and :lookup:`istartswith` lookups. | ||||
|  | ||||
| .. warning:: | ||||
|  | ||||
|     Since any string could be a key in a hstore value, any lookup other than | ||||
|   | ||||
		Reference in New Issue
	
	Block a user