Q. Which setting is used to define the list of allowed hostnames?

  • (A) ALLOWED_DOMAINS
  • (B) SAFE_HOSTS
  • (C) ALLOWED_HOSTS
  • (D) VALID_DOMAINS
πŸ’¬ Discuss
βœ… Correct Answer: (C) ALLOWED_HOSTS
Explanation: ALLOWED_HOSTS defines which hosts the Django server can respond to.
Explanation by: Mr. Dubey
ALLOWED_HOSTS defines which hosts the Django server can respond to.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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