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
|
|
|
|
|
2013-11-02 21:34:05 +00:00
|
|
|
|
2007-02-13 04:24:58 +00:00
|
|
|
def client(request, id):
|
|
|
|
pass
|
|
|
|
|
2013-11-02 21:34:05 +00:00
|
|
|
|
2007-02-13 04:24:58 +00:00
|
|
|
def client_action(request, id, action):
|
|
|
|
pass
|
2008-08-31 17:29:49 +00:00
|
|
|
|
2013-11-02 21:34:05 +00:00
|
|
|
|
2008-08-31 17:29:49 +00:00
|
|
|
def client2(request, tag):
|
|
|
|
pass
|
2011-01-16 15:38:03 +00:00
|
|
|
|
2013-11-02 21:34:05 +00:00
|
|
|
|
2011-01-16 15:38:03 +00:00
|
|
|
def template_response_view(request):
|
|
|
|
return TemplateResponse(request, 'response.html', {})
|
|
|
|
|
2013-11-02 21:34:05 +00:00
|
|
|
|
2011-01-16 15:38:03 +00:00
|
|
|
def snark(request):
|
|
|
|
return HttpResponse('Found him!')
|