MongoDB user authentication work around in Django 1.10 and mongengine 0.8 MongoEngine/mongoengine#966
Changes that are to be made to make login work with MongoDB:
- in django.auth.init.py
from bson.objectid import ObjectId def _get_user_session_key(request): # This value in the session is always serialized to a string, so we need