Complete the code to allow all hosts in Django settings.
ALLOWED_HOSTS = [[1]]Using "*" in ALLOWED_HOSTS allows Django to accept requests from any host.
Complete the code to allow only localhost and example.com hosts.
ALLOWED_HOSTS = [[1]]Listing hostnames as strings in ALLOWED_HOSTS restricts access to those hosts only.
Fix the error in ALLOWED_HOSTS to allow only 127.0.0.1.
ALLOWED_HOSTS = [1]ALLOWED_HOSTS must be a list of strings. Using ["127.0.0.1"] is correct syntax.
Fill both blanks to allow localhost and a custom domain in ALLOWED_HOSTS.
ALLOWED_HOSTS = [[1], [2]]
ALLOWED_HOSTS list includes all allowed hostnames as strings.
Fill all three blanks to allow localhost, 127.0.0.1, and a custom domain.
ALLOWED_HOSTS = [[1], [2], [3]]
ALLOWED_HOSTS list should include all allowed hosts as strings in a list.
