X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/9c8f0adb8bb6c8b86517798d70c2c8dcd198e721..58494f1136f817ce26c0471d4918e45e1bac92e3:/prawokultury/settings.d/35-search.conf diff --git a/prawokultury/settings.d/35-search.conf b/prawokultury/settings.d/35-search.conf index 62b5799..15667a3 100644 --- a/prawokultury/settings.d/35-search.conf +++ b/prawokultury/settings.d/35-search.conf @@ -5,5 +5,4 @@ HAYSTACK_CONNECTIONS = { }, } -from django.conf import settings -HAYSTACK_DOCUMENT_FIELD = "body_%s" % settings.LANGUAGE_CODE +HAYSTACK_DOCUMENT_FIELD = "body_%s" % LANGUAGE_CODE