Skip to content

Commit

Permalink
Merge pull request #2400 from pennersr/patch-1
Browse files Browse the repository at this point in the history
Fixed settings load order
  • Loading branch information
malinoff committed Apr 19, 2015
2 parents 11b8576 + 58e8adc commit 3f897ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/django/proj/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

from celery import Celery

from django.conf import settings

# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')

from django.conf import settings

app = Celery('proj')

# Using a string here means the worker will not have to
Expand Down

0 comments on commit 3f897ca

Please sign in to comment.