title: Configuring Celery with Django using mod_wsgi
body: <p>I'm using Django 1.6 and Celery 3.1 (so not using django-celery). 
  My WSGI file looks like this:</p>
  
  <pre><code>import os
  import sys
  
  path = '/code_base/backend/'
  if path not in sys.path:
      sys.path.append(path)
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'my_django_project.settings.production'
  
  import django.core.handlers.wsgi
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>
  
  <p>Starting the Apache server everything works as expected as if I was running <code>manage.py runserver</code>. This is fine for my webserver, but what configuration do I need when I want the server to be a worker instead (similar to <code>celery -A my_django_project worker -l info</code>)? </p>