Fundraising in PDF.
[wolnelektury.git] / src / wolnelektury / settings / __init__.py
index f8451cc..8d5b33b 100644 (file)
@@ -1,5 +1,5 @@
-# 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.
 #
 # Django settings for wolnelektury project.
 import sentry_sdk
@@ -8,7 +8,6 @@ from sentry_sdk.integrations.django import DjangoIntegration
 from .apps import *
 from .basic import *
 from .auth import *
-from .cache import *
 from .celery import *
 from .contrib import *
 from .custom import *
@@ -30,15 +29,6 @@ except NameError:
     CELERY_TASK_ALWAYS_EAGER = True
 
 
-# If SEARCH_INDEX not configured, disable the search.
-try:
-    SOLR
-except NameError:
-    NO_SEARCH_INDEX = True
-else:
-    NO_SEARCH_INDEX = False
-
-
 try:
     SENTRY_DSN
 except NameError: