title: Production.py issue with deployment of cookiecutter-django and gunicorn to digital ocean
body: <p>I built a Django project using the latest version of <a href="https://github.com/pydanny/cookiecutter-django" rel="nofollow noreferrer">cookiecutter-django</a>, which seems to be working fine on my local computer as well as when I run it through <code>python manage.py runserver</code> using the various settings files. I'm trying to test my Gunicorn server on Digital Ocean (running Ubuntu 16.04) but for some reason can't get the server to run properly when <code>production.py</code> is the one being used. </p>
  
  <p>When I do the following command on bash:</p>
  
  <pre><code>gunicorn --bind 0.0.0.0:8000 --env DJANGO_SETTINGS_MODULE=config.settings.test --preload config.wsgi
  </code></pre>
  
  <p>everything works fine and I get these:</p>
  
  <pre><code>[2018-02-18 23:31:14 -0500] [31662] [INFO] Starting gunicorn 19.7.1
  [2018-02-18 23:31:14 -0500] [31662] [INFO] Listening at: http://0.0.0.0:8000 (31662)
  [2018-02-18 23:31:14 -0500] [31662] [INFO] Using worker: sync
  [2018-02-18 23:31:14 -0500] [31666] [INFO] Booting worker with pid: 31666
  </code></pre>
  
  <p>But when I don't specify the settings file and default to <code>production.py</code> with <code>gunicorn --bind 0.0.0.0:8000 --preload config.wsgi</code>, where the environment variable <code>DJANGO_SETTINGS_MODULE</code> is set to <code>config.settings.production</code>, I only get these:</p>
  
  <pre><code>DEBUG 2018-02-18 23:31:55,786 base 31681 140442914699008 Configuring Raven for host: &lt;raven.conf.remote.RemoteConfig object at 0x7fbb5cc0b668&gt;
  INFO 2018-02-18 23:31:55,786 base 31681 140442914699008 Raven is not configured (logging is disabled). Please see the documentation for more information.
  </code></pre>
  
  <p>And it pretty much just gets stuck there. What might be causing this issue?</p>