mirror of
				https://github.com/django/django.git
				synced 2025-11-04 13:39:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			325 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			325 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.core import context_processors
 | 
						|
from django.shortcuts import render_to_response
 | 
						|
from django.template.context import RequestContext
 | 
						|
 | 
						|
 | 
						|
def request_processor(request):
 | 
						|
    return render_to_response('context_processors/request_attrs.html',
 | 
						|
        RequestContext(request, {}, processors=[context_processors.request]))
 |