MongoEngine/mongoengine — pull request #508 by demockk (2013-11-11 12:14:47+00:00)
Title: Django 1.6 - Session Problem Fixed.

Mongoengine has some problems with sessions on Django 1.6 as it can't serialize ObjectIds out of the box.
Overwriting the encode function using the json_util lib that can handle ObjectIds we can solve this problem.