X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2b447a437065ce4bd982562f6fd0c2877074c2da..50aec69a46276ec94d7d4d2ab3c59bc383d07a2c:/src/wolnelektury/celery.py diff --git a/src/wolnelektury/celery.py b/src/wolnelektury/celery.py index d1e18d7d6..ced325b0a 100644 --- a/src/wolnelektury/celery.py +++ b/src/wolnelektury/celery.py @@ -1,9 +1,6 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # -from __future__ import absolute_import - import os from celery import Celery from django.conf import settings @@ -13,5 +10,5 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wolnelektury.settings') app = Celery('wolnelektury') -app.config_from_object('django.conf:settings') +app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)