mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Clarified HMAC usage in signing.dumps() docstring.
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							60e52a047e
						
					
				
				
					commit
					81957086c1
				
			| @@ -92,7 +92,7 @@ class JSONSerializer: | ||||
|  | ||||
| def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False): | ||||
|     """ | ||||
|     Return URL-safe, sha1 signed base64 compressed JSON string. If key is | ||||
|     Return URL-safe, hmac/SHA1 signed base64 compressed JSON string. If key is | ||||
|     None, use settings.SECRET_KEY instead. | ||||
|  | ||||
|     If compress is True (not the default), check if compressing using zlib can | ||||
|   | ||||
		Reference in New Issue
	
	Block a user