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

Problem with mongod 3.6.8 when db is making migrations. #236

Closed
felmarlop opened this issue Nov 2, 2018 · 1 comment
Closed

Problem with mongod 3.6.8 when db is making migrations. #236

felmarlop opened this issue Nov 2, 2018 · 1 comment

Comments

@felmarlop
Copy link

felmarlop commented Nov 2, 2018

Hi, I am still having the problem about the indexes when I type python manage.py syncdb:

DeprecationWarning: 'descending_indexes', 'sparse_indexes' and 'index_together' are deprecated and will be ignored as of version 0.6. Use 'indexes' instead.
  "Use 'indexes' instead.", DeprecationWarning)

Installing indices for admin.LogEntry model.
OperationFailure: command SON([('createIndexes', u'django_admin_log'), ('indexes', [{'sparse': False, 'key': SON([('_id', 1)]), 'name': u'_id_1', 'unique': True}])]) on namespace heroku_3jpxnffw.$cmd failed: The field 'sparse' is not valid for an _id index specification. Specification: { ns: "heroku_3jpxnffw.django_admin_log", v: 2, sparse: false, key: { _id: 1 }, name: "_id_1", unique: true }

I read about it and everyone advise using another lower version of mongoDB. I am using the django-nonrel versions installed from:

git+https://github.com/django-nonrel/[email protected]
git+https://github.com/django-nonrel/djangotoolbox
git+https://github.com/django-nonrel/mongodb-engine

And mongoDB version: mongod version: 3.6.8

my question: will this ever be fixed for that mongod version? because I have to use that, not another lower.

cc' @aburgel

Please, I wait for your answers.
Thanks in advance.

@felmarlop
Copy link
Author

any idea about this? @aburgel

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

1 participant