mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
8 lines
No EOL
279 B
Python
8 lines
No EOL
279 B
Python
from __future__ import absolute_import, unicode_literals
|
|
import os
|
|
from celery import Celery
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'NewsBlur.settings')
|
|
|
|
app = Celery('NewsBlur')
|
|
app.config_from_object('django.conf:settings', namespace='CELERY')
|
|
app.autodiscover_tasks() |