mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Renamed some tests and removed references to modeltests/regressiontests.
This commit is contained in:
22
tests/template_tests/views.py
Normal file
22
tests/template_tests/views.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# Fake views for testing url reverse lookup
|
||||
from django.http import HttpResponse
|
||||
from django.template.response import TemplateResponse
|
||||
|
||||
|
||||
def index(request):
|
||||
pass
|
||||
|
||||
def client(request, id):
|
||||
pass
|
||||
|
||||
def client_action(request, id, action):
|
||||
pass
|
||||
|
||||
def client2(request, tag):
|
||||
pass
|
||||
|
||||
def template_response_view(request):
|
||||
return TemplateResponse(request, 'response.html', {})
|
||||
|
||||
def snark(request):
|
||||
return HttpResponse('Found him!')
|
||||
Reference in New Issue
Block a user