2014-12-25 16:05:21 +01:00
|
|
|
"""
|
|
|
|
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('gvafile')
|
|
|
|
|
2015-01-26 17:07:31 +01:00
|
|
|
app.config_from_object('gvafile.settings')
|
|
|
|
app.autodiscover_tasks(['fileservertasks'], force=True)
|