parts/django/tests/regressiontests/comment_tests/custom_comments/views.py
changeset 307 c6bca38c1cbf
equal deleted inserted replaced
306:5ff1fc726848 307:c6bca38c1cbf
       
     1 from django.http import HttpResponse
       
     2 
       
     3 def custom_submit_comment(request):
       
     4     return HttpResponse("Hello from the custom submit comment view.")
       
     5 
       
     6 def custom_flag_comment(request, comment_id):
       
     7     return HttpResponse("Hello from the custom flag view.")
       
     8 
       
     9 def custom_delete_comment(request, comment_id):
       
    10     return HttpResponse("Hello from the custom delete view.")
       
    11 
       
    12 def custom_approve_comment(request, comment_id):
       
    13     return HttpResponse("Hello from the custom approve view.")