MongoDB ID’s and Django templates February 23, 2010 / 9 Comments / Data Storage, Django, MongoDB, Python So. Ran into a little frustration using MongoDB with Django; if you try to represent the _id field of a mongo object using something like {{ mongo_object._id }} or {{ mongo_object.id }}, you will get nothing but django barf. …