bottle-mongodb-example
bottle-mongodb-example copied to clipboard
Pil import, prerequisites
Stuart, PIL appears to have installation packaging issue, which broke the sample in my environment. Please see https://code.djangoproject.com/ticket/6054 for details. I also updated the list of prerequisites to facilitate running the project for newbies.
FYI - from pymongo.objectid import ObjectId The call seems to work in versions of PyMongo < 2.2 In pymongo 2.2 the call to import objectid is: from bson.objectid import ObjectId http://stackoverflow.com/questions/10579704/importerror-no-module-named-objectid Also, mako dependency - pip install mako