2007-02-13 04:24:58 +00:00
|
|
|
# Fake views for testing url reverse lookup
|
2011-01-16 15:38:03 +00:00
|
|
|
from django.http import HttpResponse
|
|
|
|
from django.template.response import TemplateResponse
|
|
|
|
|
2007-02-13 04:24:58 +00:00
|
|
|
|
|
|
|
def index(request):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def client(request, id):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def client_action(request, id, action):
|
|
|
|
pass
|
2008-08-31 17:29:49 +00:00
|
|
|
|
|
|
|
def client2(request, tag):
|
|
|
|
pass
|
2011-01-16 15:38:03 +00:00
|
|
|
|
|
|
|
def template_response_view(request):
|
|
|
|
return TemplateResponse(request, 'response.html', {})
|
|
|
|
|
|
|
|
def snark(request):
|
|
|
|
return HttpResponse('Found him!')
|