2015-01-26 18:12:14 +01:00
|
|
|
"""
|
|
|
|
This module defines the Celery_ app for gvaweb.
|
|
|
|
|
|
|
|
.. _Celery: http://www.celeryproject.org/
|
|
|
|
|
|
|
|
"""
|
|
|
|
from celery import Celery
|
|
|
|
|
|
|
|
#: The Celery application
|
2020-03-03 15:22:51 +01:00
|
|
|
app = Celery("webtasks")
|
2015-01-26 18:12:14 +01:00
|
|
|
|
2020-03-03 15:22:51 +01:00
|
|
|
app.config_from_object("webtasks.settings", namespace="CELERY")
|
|
|
|
app.autodiscover_tasks(["webtasks.tasks"], force=True)
|