πŸ“Š Django
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

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