Django认证Mongodb [英] Django Authentication Mongodb
问题描述
嗨大家
我想用mongodb使用django的内置身份验证。我已经在网上看过,他们并不是真正的稳定的和 解决方案。有没有人可以告诉我哪些人可以通过最少的黑客攻击实现这个目标?这将是巨大的。
你不能简单地使用Django内置的认证与MongoDB,因为。不过,您可以使用第三个模块,例如 MongoEngine 或 MongoKit ,以克服这个问题,因为他们都为MongoDB Django应用程序提供验证模块。
$ b $注意:MongoEngine的人员提供了一个非常棒的开源项目,名为 Mumblr 这是很有用的Django-MongoDB项目的起始点。
Hi everyone I want to use django's built in authentication with mongodb. I have looked online and they aren't really any stable and solid solutions.
Has anyone mongodb fans out there who can point out to me how this can be achieved with minimal hacking? That would be great.
You can't simply use Django built in authentication with MongoDB because MongoDB is not supported as a back-end for django.db which is an ORM for Django Authentication. However you may use 3rd modules like MongoEngine or MongoKit to overcome this problem as they all provide Authentication Module for MongoDB Django apps.
Note: The folks at MongoEngine provide an awesome open source project named Mumblr which is good to use as a starter for your Django-MongoDB project.
这篇关于Django认证Mongodb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!