mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
14
tests/comment_tests/custom_comments/views.py
Normal file
14
tests/comment_tests/custom_comments/views.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from django.http import HttpResponse
|
||||
|
||||
|
||||
def custom_submit_comment(request):
|
||||
return HttpResponse("Hello from the custom submit comment view.")
|
||||
|
||||
def custom_flag_comment(request, comment_id):
|
||||
return HttpResponse("Hello from the custom flag view.")
|
||||
|
||||
def custom_delete_comment(request, comment_id):
|
||||
return HttpResponse("Hello from the custom delete view.")
|
||||
|
||||
def custom_approve_comment(request, comment_id):
|
||||
return HttpResponse("Hello from the custom approve view.")
|
||||
Reference in New Issue
Block a user