Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updating WSGI file to latest iteration.

  • Loading branch information...
commit ee49890c08656328bd28ce00260ee0fd1acecf72 1 parent 3fed851
brandonsavage brandonsavage authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 wsgi/playdoh.wsgi
5 wsgi/playdoh.wsgi
... ... @@ -1,7 +1,9 @@
1 1 import os
2 2 import site
3 3
4   -os.environ['CELERY_LOADER'] = 'django'
  4 +os.environ.setdefault('CELERY_LOADER', 'django')
  5 +# NOTE: you can also set DJANGO_SETTINGS_MODULE in your environment to override
  6 +# the default value in manage.py
5 7
6 8 # Add the app dir to the python path so we can import manage.
7 9 wsgidir = os.path.dirname(__file__)
@@ -11,7 +13,6 @@ site.addsitedir(os.path.abspath(os.path.join(wsgidir, '../')))
11 13 import manage
12 14
13 15 import django.core.handlers.wsgi
14   -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
15 16 application = django.core.handlers.wsgi.WSGIHandler()
16 17
17 18 # vim: ft=python

0 comments on commit ee49890

Please sign in to comment.
Something went wrong with that request. Please try again.