Skip to content

ERROR - HAYSTACK_CONNECTIONS setting is required #94

@spart4ck

Description

@spart4ck

Hi guys,

I am trying to setup the library but I'm missing something. I removed the "oscar.apps.search.apps.SearchConfig", "oscar.config.Shop" too.
But I get all time the same error:

File "/usr/local/lib/python3.12/site-packages/oscar/core/loading.py", line 141, in _import_module
return import(module_label, fromlist=classnames)

File "/usr/local/lib/python3.12/site-packages/oscar/apps/search/forms.py", line 8, in
from haystack.forms import FacetedSearchForm

File "/usr/local/lib/python3.12/site-packages/haystack/init.py", line 41, in
raise ImproperlyConfigured("The HAYSTACK_CONNECTIONS setting is required.")

django.core.exceptions.ImproperlyConfigured: The HAYSTACK_CONNECTIONS setting is required.

I am using docker-compose for the build, I share my configuration file, the repository is public:
Repository

I would really appreciate it if someone could give me a hand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions