Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elastic search #4

Open
shubham1507 opened this issue Aug 6, 2019 · 1 comment
Open

elastic search #4

shubham1507 opened this issue Aug 6, 2019 · 1 comment

Comments

@shubham1507
Copy link

Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django/core/management/init.py", line 371, in execute_from_command_line
utility.execute()
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django/core/management/init.py", line 347, in execute
django.setup()
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/home/snj/.virtualenvs/ems/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django_elasticsearch_dsl/init.py", line 3, in
from .documents import Document # noqa
File "/home/snj/.virtualenvs/ems/lib/python3.6/site-packages/django_elasticsearch_dsl/documents.py", line 7, in
from elasticsearch_dsl import Document as DSLDocument
ImportError: cannot import name 'Document'

@raikk
Copy link

raikk commented Feb 18, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants