title: Django gives Bad Request (400) when DEBUG = False
body: <p>I am new to django-1.6. When I run the django server with <code>DEBUG = True</code>, it's running perfectly. But when I change <code>DEBUG</code> to <code>False</code> in the settings file, then the server stopped and it gives the following error on the command prompt:</p>
  
  <pre><code>CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False.
  </code></pre>
  
  <p>After I changed <code>ALLOWED_HOSTS</code> to <code>["http://127.0.0.1:8000",]</code>, in the browser I get the error:</p>
  
  <pre><code>Bad Request (400)
  </code></pre>
  
  <p>Is it possible to run Django without debug mode?</p>