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
|
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2007-02-13 12:24:58 +08:00
|
|
|
def client(request, id):
|
|
|
|
pass
|
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2007-02-13 12:24:58 +08:00
|
|
|
def client_action(request, id, action):
|
|
|
|
pass
|
2008-09-01 01:29:49 +08:00
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2008-09-01 01:29:49 +08:00
|
|
|
def client2(request, tag):
|
|
|
|
pass
|
2011-01-16 23:38:03 +08:00
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2011-01-16 23:38:03 +08:00
|
|
|
def template_response_view(request):
|
|
|
|
return TemplateResponse(request, "response.html", {})
|
|
|
|
|
2013-11-03 05:34:05 +08:00
|
|
|
|
2011-01-16 23:38:03 +08:00
|
|
|
def snark(request):
|
2020-11-14 05:26:30 +08:00
|
|
|
return HttpResponse("Found them!")
|