πŸ“Š Django
Q. What does csrf_exempt decorator do?
  • (A) Enables CSRF protection
  • (B) Disables CSRF protection for a specific view
  • (C) Redirects on CSRF failure
  • (D) Validates CSRF token
πŸ’¬ Discuss
βœ… Correct Answer: (B) Disables CSRF protection for a specific view

Explanation: csrf_exempt disables CSRF protection for the decorated view.

Explanation by: Mr. Dubey
csrf_exempt disables CSRF protection for the decorated view.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate