Celery settings for dev and base production environment.
See http://docs.celeryproject.org/en/latest/configuration.html for settings description.
Timezone
Env variable: CELERYD_CONCURRENCY
The number of concurrent worker processes/threads/green threads executing tasks.
Env variable: CELERYD_PREFETCH_MULTIPLIER
How many messages to prefetch at a time multiplied by the number of concurrent processes.
Env variable: DJANGO_CELERY_RESULT_BACKEND
The backend used to store task results (tombstones). Disabled by default.
Env variable: DJANGO_CELERY_RESULT_SERIALIZER
Result serialization format.
Env variable: CELERY_BROKER_URL
Default broker URL.
Env variable: CELERY_BROKER_POOL_LIMIT
The maximum number of connections that can be open in the connection pool.
Env variable: DJANGO_CELERY_IGNORE_RESULT
Whether to store the task return values or not (tombstones).
Default compression used for task messages.
Time (in seconds, or a timedelta object) for when after stored task tombstones will be deleted.
Late ack means the task messages will be acknowledged after the task has been executed, not just before, which is the default behavior. https://docs.celeryproject.org/en/latest/faq.html#faq-acks-late-vs-retry
Env variable: DJANGO_CELERYD_MAX_TASKS_PER_CHILD
Maximum number of tasks a pool worker process can execute before it’s replaced with a new one. Default is no limit.
Env variable: DJANGO_CELERYD_TASK_TIME_LIMIT
Task hard time limit in seconds. The worker processing the task will be killed and replaced with a new one when this is exceeded.
Env variable: DJANGO_CELERY_SEND_TASK_ERROR_EMAILS
Errors occurring during task execution will be sent to ADMINS by email.
Bases: common_configs.apps.celery.CeleryBase
Run queued tasks immediately
Propagate exceptions to front-end debugger
Assets compression settings for django_compressor
Common settings for production and dev config
Env variable: DJANGO_COMPRESS_ENABLED
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_ENABLED
Env variable: DJANGO_COMPRESS_PARSER
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_PARSER
Predefined list of precompilers. Require installation of 3rd party binaries and packages
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_PRECOMPILERS
Env variable: DJANGO_COMPRESS_CSS_FILTERS
List of css filters (rewrite urls and minify output)
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_CSS_FILTERS
Env variable: DJANGO_COMPRESS_JS_FILTERS
List of js filters (minify output)
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_JS_FILTERS
Env variable: DJANGO_COMPRESS_OUTPUT_DIR
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_OUTPUT_DIR
Env variable: DJANGO_COMPRESS_CACHE_BACKEND
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_CACHE_BACKEND
Appends compressor to list of INSTALLED_APPS.
Bases: common_configs.apps.compress.CompressBase
Env variable: DJANGO_COMPRESS_OFFLINE
Compress assets during deployment
http://django-compressor.rtfd.org/latest/settings/#django.conf.settings.COMPRESS_OFFLINE
Bases: common_configs.apps.compress.CompressBase
Env variable: DJANGO_COMPRESS_CSS_FILTERS
Don’t minify css in dev
Env variable: DJANGO_COMPRESS_JS_FILTERS
Don’t minify concatenated js scripts in dev
Env variable: DJANGO_COMPRESS_CACHE_BACKEND
Don’t cache compiled assets during development
Appends django.contrib.auth to list of INSTALLED_APPS.
Appends django.contrib.sessions.middleware.SessionMiddleware and django.contrib.auth.middleware.AuthenticationMiddleware to list of MIDDLEWARE_CLASSES.
Appends auth context processors to list of TEMPLATE_CONTEXT_PROCESSORS.
Bases: common_configs.apps.auth.DjangoAuth
Appends allauth, allauth.account and allauth.socialaccount to list of INSTALLED_APPS.
Appends allauth context processors to list of TEMPLATE_CONTEXT_PROCESSORS.
Settings for django-crispy-forms - the best way to have DRY Django forms
Bases: object
Env variable: DJANGO_CRISPY_TEMPLATE_PACK
Template pack
Env variable: DJANGO_CRISPY_FAIL_SILENTLY
Don’t suppress errors unless explicitly set
Appends crispy_forms to list of INSTALLED_APPS.
Settings for django-imagekit - automated image processing for Django
Env variable: IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY
Use optimistic strategy
Env variable: IMAGEKIT_SPEC_CACHEFILE_NAMER
Define naming strategy
Appends imagekit to list of INSTALLED_APPS.