question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Django 1.9

See original GitHub issue

Currently I get this:

>>> from django_elasticsearch.models import EsIndexable
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/Users/.../venv/lib/python2.7/site-packages/django_elasticsearch/models.py", line 4, in <module>
    from django.db.models.signals import post_save, post_delete, post_syncdb
ImportError: cannot import name post_syncdb

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
onegreyonewhitecommented, Apr 7, 2016

Hi. On this branch, I have error:

Traceback (most recent call last): File "./manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 338, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 390, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 441, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 225, in handle emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias) File "/usr/lib/python2.7/site-packages/django/core/management/sql.py", line 280, in emit_post_migrate_signal using=db) File "/usr/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 201, in send response = receiver(signal=self, sender=sender, **named) TypeError: es_syncdb_callback() takes exactly 3 arguments (1 given)

How to fix it, I don`t know. Can you help me?

0reactions
sunnychaudharicommented, Jun 6, 2017

@Dean-Christian-Armada: I’m also facing the exact same issue, can you please tell me how do I run ElasticSearch so that it should not give me that connection refused error on shell.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django 1.9.13 release notes
April 4, 2017. Django 1.9.13 fixes two security issues and a bug in 1.9.12. This is the final release of the 1.9.x series....
Read more >
Download Django
The last version to support Python 2.7 is Django 1.11 LTS. See the FAQ for the Python versions supported by ... 1.9, 1.9.13,...
Read more >
End of life dates for supported database versions
11.2 - Dec 2020 - drop in Django 2.0 (Django 1.11 LTS supported until April 2020). · 12.1 - July 2021 - drop...
Read more >
Django 1.9.5 release notes - Documentation
Django 1.9.5 fixes several bugs in 1.9.4. ... Michael Angeletti donated to the Django Software Foundation to support Django development.
Read more >
Django 1.9.10 release notes
Django 1.9.10 fixes a security issue in 1.9.9. CSRF protection bypass on a site with Google Analytics¶. An interaction between Google Analytics ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found