summaryrefslogtreecommitdiff
path: root/parts/django/tests/regressiontests/comment_tests/custom_comments/views.py
blob: 93cea9d59192c01293960a7430644c88278ebf9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.")