Errata

MongoDB and Python

Errata for MongoDB and Python

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
PDF Page 6
the last paragraph

python -c import setuptools
should be
python -c "import setuptools"

sunqiang  Nov 07, 2011 
PDF Page 7
the last paragraph but one

bin/python -c import pymongo
should be
bin/python -c "import pymongo"

sunqiang  Nov 07, 2011 
PDF Page 16
the last line but two

sort(("dateofbirth", pymongo.DESCENDING))
should be
sort("dateofbirth", direction=pymongo.DESCENDING)
or
sort([("dateofbirth", pymongo.DESCENDING), (key2, direction2)...])
and "pymongo.DESCENDING" needs "import pymongo"

sunqiang  Nov 07, 2011 
PDF Page 29
1st paragraph

The word 'available' is spelled 'avaialble'

Rick Rose  Oct 23, 2012 
PDF Page 52
top of page

This example in this repository

https://github.com/mdirolf/DjanMon

is not compliant with Django 1.4, only 1.3 and earlier. We've asked the developer to update the readme on Git, but pull has not been committed yet. Thanks to the 10gen folks for helping figure this one out.

If you've hit the bug, uninstall 1.4 from the venv and reinstall with 1.3, runserver and you should be set.

Ben Lampert  Jun 24, 2012