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

django-haystack 1.4 #170

Closed
Reivax84 opened this issue Mar 25, 2017 · 5 comments
Closed

django-haystack 1.4 #170

Reivax84 opened this issue Mar 25, 2017 · 5 comments

Comments

@Reivax84
Copy link

hello,
is there a particular reason why commit d3f1e01 removed compatibility to django-haystack 1.4?

Greetings
Xavier

@alexsilva
Copy link
Contributor

This commit broke compatibility with django-haystack == 2.5.1

@alexsilva
Copy link
Contributor

Neither version django-haystack==2.6 work anymore. This commit needs to be rolled back.

@alexsilva
Copy link
Contributor

The following error occurs at the time the update_index command is executed.

Traceback (most recent call last):
  File "manage.py", line 40, in <module>
    execute_from_command_line(sys.argv)
  File "\Python2.7\lib\site-packages\django\core\management\__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "\Python2.7\lib\site-packages\django\core\management\__init__.py", line 345, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "\Python2.7\lib\site-packages\django\core\management\base.py", line 348, in run_from_argv
    self.execute(*args, **cmd_options)
  File "\Python2.7\lib\site-packages\django\core\management\base.py", line 399, in execute
    output = self.handle(*args, **options)
  File "\pyenv\Lib\site-packages\haystack\management\commands\update_index.py", line 214, in handle
    self.update_backend(label, using)
  File "\pyenv\Lib\site-packages\haystack\management\commands\update_index.py", line 257, in update_backend
    commit=self.commit, max_retries=self.max_retries)
  File "\pyenv\Lib\site-packages\haystack\management\commands\update_index.py", line 84, in do_update
    backend.update(index, current_qs, commit=commit)
TypeError: update() got an unexpected keyword argument 'commit'

@alexsilva
Copy link
Contributor

#171

@claudep
Copy link
Collaborator

claudep commented Aug 9, 2021

I guess this is now obsolete.

@claudep claudep closed this as completed Aug 9, 2021
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

3 participants