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