Skip to main content

django-configurations Celery app

Project description

Installation

$ [sudo] pip install django-configurations-celery-app

Examples

from django_configurations_celery_app import app
$ celery -A django_configurations_celery_app worker -P gevent -c 20 -Q celery

P.S.: app source

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')

Links

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-configurations-celery-app, version 2020.7.1
Filename, size File type Python version Upload date Hashes
Filename, size django-configurations-celery-app-2020.7.1.tar.gz (1.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page