X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f8237807eed38189cf909c73d37c2b3d1e2d584a..51099aa7aa297f5f38fe052c5caa49b22170e7ac:/src/wolnelektury/settings/__init__.py?ds=sidebyside diff --git a/src/wolnelektury/settings/__init__.py b/src/wolnelektury/settings/__init__.py index f8451cc23..f772d3d56 100644 --- a/src/wolnelektury/settings/__init__.py +++ b/src/wolnelektury/settings/__init__.py @@ -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: