parts/django/tests/regressiontests/comment_tests/custom_comments/views.py
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 00:53:11 +0530
changeset 348 1eb24b1662cf
parent 307 c6bca38c1cbf
permissions -rw-r--r--
commenting does not need a verbose_name

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.")