gvapgsql/gvapgsql/pgsqltasks/celery.py
Jan Dittberner 68f0834954 Refactor module structure
Move pgsqltasks to top level to keep the task names when using Python 3
2020-03-04 18:14:08 +01:00

14 lines
286 B
Python

"""
This module defines the Celery_ app for gvapgsql.
.. _Celery: http://www.celeryproject.org/
"""
from celery import Celery
#: The Celery application
app = Celery("pgsqltasks")
app.config_from_object("pgsqltasks.settings")
app.autodiscover_tasks(["pgsqltasks.tasks"], force=True)