The _id comes back as a dict and it's in the wrong order compared to the dict stored in mongo. This results in lookups for deletion failing when we use the '_id' as the lookup key. Luckily the delete function also takes the asset_key as a valid key to delete by so we just use that instead.
common ------ This directory contains common code shared between LMS and CMS, such as Mako templates, CSS, and Coffescript.