0.2 release

This commit is contained in:
Sonny 2020-04-15 22:07:12 +02:00
parent 747c6416d4
commit 18479a3f56
340 changed files with 27295 additions and 0 deletions

14
src/newsreader/celery.py Normal file
View file

@ -0,0 +1,14 @@
import os
from celery import Celery
# note: this should be consistent with the setting from manage.py
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "newsreader.conf.dev")
# note: use the --workdir flag when running from different directories
app = Celery("newsreader")
app.config_from_object("django.conf:settings")
app.autodiscover_tasks()