Django Authentication Mongodb

前端 未结 1 1074
深忆病人
深忆病人 2021-02-14 00:42

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.

1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-14 01:30

    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.

    0 讨论(0)
提交回复
热议问题