<reponame>andrewp-as-is/django-configurations-celery-app.py<filename>django_configurations_celery_app/__init__.py
import os

from celery import Celery

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
os.environ.setdefault('DJANGO_CONFIGURATION', 'Dev')

import configurations
configurations.setup()

app = Celery()
app.config_from_object('django.conf:settings')
