Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

What is role of ALLOWED_HOSTs in Django

ALLOWED_HOSTS.-
  A list of strings representing the host/domain names that this Django site can serve. 
  This is a security measure to prevent HTTP Host header attacks,
  which are possible even under many seemingly-safe web server configurations.
Source by docs.djagoproject.com #
 
PREVIOUS NEXT
Tagged: #What #role #Django
ADD COMMENT
Topic
Name
7+4 =