1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 # Django settings for wolnelektury project.
6 from sentry_sdk.integrations.django import DjangoIntegration
13 from .contrib import *
19 # Load localsettings, if they exist
21 from wolnelektury.localsettings import *
26 # If Celery broker not configured, enable always-eager mode.
30 CELERY_TASK_ALWAYS_EAGER = True
33 # If SEARCH_INDEX not configured, disable the search.
37 NO_SEARCH_INDEX = True
39 NO_SEARCH_INDEX = False
49 integrations=[DjangoIntegration()]
53 # Dummy secret key for development.
58 SECRET_KEY = 'not-a-secret-key'