Deprecation Warning
roycehaynes opened this issue · 2 comments
roycehaynes commented
When running
./manage.py syncdb
The following message displays:
/Users/foo/Sites/.virtualenvs/revup/lib/python2.7/site-packages/django_mongodb_engine/creation.py:98: 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)
Enviroment:
- Django v1.5.8
- Mac OSX v10.9.4
- django-mongodb-engine==0.5.2
- djangorestframework==2.3.14
- djangotoolbox==1.6.2
sgourichon commented
Looks like mongodb-engine is actually complaining about the code that uses it, rather than a bug in mongodb-engine. Anyone can confirm ?
sgourichon commented
Warning source code is there https://github.com/django-nonrel/mongodb-engine/blob/master/django_mongodb_engine/creation.py#L94