diff options
Diffstat (limited to 'parts/django/tests/regressiontests/comment_tests/custom_comments/views.py')
-rw-r--r-- | parts/django/tests/regressiontests/comment_tests/custom_comments/views.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/parts/django/tests/regressiontests/comment_tests/custom_comments/views.py b/parts/django/tests/regressiontests/comment_tests/custom_comments/views.py new file mode 100644 index 0000000..93cea9d --- /dev/null +++ b/parts/django/tests/regressiontests/comment_tests/custom_comments/views.py @@ -0,0 +1,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.") |