mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.8.x] Refs #24127 -- Added documentation for HttpRequest.current_app.
Backport of 6364df6887 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							ae1d663b79
						
					
				
				
					commit
					ae93aeed2b
				
			| @@ -209,6 +209,13 @@ All attributes should be considered read-only, unless stated otherwise below. | ||||
|     are executed before url resolving takes place (like ``process_request``, you | ||||
|     can use ``process_view`` instead). | ||||
|  | ||||
| .. attribute:: HttpRequest.current_app | ||||
|  | ||||
|     .. versionadded:: 1.8 | ||||
|  | ||||
|     Not defined by Django itself, but if set, the :ttag:`url` template tag | ||||
|     will use its value as the ``current_app`` argument to | ||||
|     :func:`~django.core.urlresolvers.reverse()`. | ||||
|  | ||||
| Methods | ||||
| ------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user