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