django 400 error in development is false code example
Example 1: avoid bad request django
ALLOWED_HOSTS = ['*']
Example 2: avoid bad request django
ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
ALLOWED_HOSTS = ['*']
ALLOWED_HOSTS = ['127.0.0.1', 'localhost']