second commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# encoding: utf-8
|
||||
import os
|
||||
from celery import Celery
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'home.settings')
|
||||
|
||||
appc = Celery('home')
|
||||
appc.config_from_object('django.conf:settings', namespace='CELERY')
|
||||
appc.autodiscover_tasks()
|
||||
Reference in New Issue
Block a user