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
12 from .contrib import *
18 # Load localsettings, if they exist
20 from wolnelektury.localsettings import *
25 # If Celery broker not configured, enable always-eager mode.
29 CELERY_TASK_ALWAYS_EAGER = True
32 # If SEARCH_INDEX not configured, disable the search.
36 NO_SEARCH_INDEX = True
38 NO_SEARCH_INDEX = False
48 integrations=[DjangoIntegration()]
52 # Dummy secret key for development.
57 SECRET_KEY = 'not-a-secret-key'