mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Fake views for testing url reverse lookup
 | 
						|
from django.http import HttpResponse
 | 
						|
from django.template.response import TemplateResponse
 | 
						|
 | 
						|
 | 
						|
def index(request):
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
def client(request, id):
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
def client_action(request, id, action):
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
def client2(request, tag):
 | 
						|
    pass
 | 
						|
 | 
						|
 | 
						|
def template_response_view(request):
 | 
						|
    return TemplateResponse(request, 'response.html', {})
 | 
						|
 | 
						|
 | 
						|
def snark(request):
 | 
						|
    return HttpResponse('Found him!')
 |