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