S

Shyam Dubey • 3.70K Points
Extraordinary

Q. What happens if DEBUG is set to True in production?

  • (A) It shows user-friendly errors
  • (B) It improves performance
  • (C) It exposes sensitive information
  • (D) It compresses CSS and JS
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
DEBUG=True in production can expose sensitive information and is a security risk.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.