Evite o mau pedido django
ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
Godhacked
ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
ALLOWED_HOSTS = ['*']