Q. Which setting defines the list of domains allowed to serve a Django site?

  • (A) ALLOWED_DOMAINS
  • (B) ALLOWED_SITES
  • (C) ALLOWED_HOSTS
  • (D) TRUSTED_HOSTS
πŸ’¬ Discuss
βœ… Correct Answer: (C) ALLOWED_HOSTS
Explanation: ALLOWED_HOSTS is a list of strings representing the host/domain names that this Django site can serve.
Explanation by: Mr. Dubey
ALLOWED_HOSTS is a list of strings representing the host/domain names that this Django site can serve.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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