MCQ Answer

What does the Django @require_POST decorator do?

What does the Django @require_POST decorator do?

Topic : Introduction to Django

A. It requires that a view can only be accessed with a POST request

B. It requires user authentication for a view

C. It enforces HTTPS for a view

D. It requires that a view can only be accessed with a GET request




Correct Answer is :

A. It requires that a view can only be accessed with a POST request



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad