A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 51
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

ALLOWED_HOSTS is a list of strings representing the host/domain names that this Django site can serve.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.