title: Using a settings file other than settings.py in Django
body: <p>I want to use a different settings file in django -- specifically settings_prod -- yet whenever I try to do a syncdb with <code>--settings=settings_prod</code>, it complains:</p>
  
  <pre><code>python2.6 manage.py syncdb  --settings=settings_prod
  Error: Can't find the file 'settings.py' in the directory containing 'manage.py'. It appears you've customized things.
  You'll have to run django-admin.py, passing it your settings module.
  (If the file settings.py does indeed exist, it's causing an ImportError somehow.)
  </code></pre>
  
  <p>I've also tried setting the environment variable <code>DJANGO_SETTINGS_MODULE=settings_prod</code> to no end.</p>
  
  <p>Edit: I have also set the environment variable in my wsgi file, also to no end:</p>
  
  <pre><code>import os
  import sys
  
  from django.core.handlers.wsgi import WSGIHandler
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings_prod'
  application = WSGIHandler()
  </code></pre>
  
  <p>Suggestions?</p>