mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-20 05:14:26 +00:00
8 lines
No EOL
283 B
Python
8 lines
No EOL
283 B
Python
from __future__ import absolute_import, unicode_literals
|
|
import os
|
|
from celery import Celery
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'newsblur_web.settings')
|
|
|
|
app = Celery('NewsBlur')
|
|
app.config_from_object('django.conf:settings', namespace='CELERY')
|
|
app.autodiscover_tasks() |