X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2b447a437065ce4bd982562f6fd0c2877074c2da..59b18d2848d2561f1547b78921936a501d0f0b37:/src/wolnelektury/celery.py?ds=inline 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)