Debian Codegraph @

tests/template_tests/views.py

raw
1 # Fake views for testing url reverse lookup
2 from django.http import HttpResponse
3 from django.template.response import TemplateResponse
4
5
6 def index(request):
7 pass
8
9
10 def client(request, id):
11 pass
12
13
14 def client_action(request, id, action):
15 pass
16
17
18 def client2(request, tag):
19 pass
20
21
22 def template_response_view(request):
23 return TemplateResponse(request, "response.html", {})
24
25
26 def snark(request):
27 return HttpResponse("Found them!")