gvafile/gvafile/fileservertasks/celery.py
Jan Dittberner 26aae0173d Refactor fileservertasks into top level module
This change moves the fileservertasks module to the top level to allow
keeping the same task names when running in a Python 3 environment.
2020-03-04 16:53:50 +01:00

16 lines
340 B
Python

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