【问题标题】:What is the difference between django-social-auth and python-social-auth?django-social-auth 和 python-social-auth 有什么区别?
【发布时间】:2018-05-18 17:41:43
【问题描述】:

我很困惑,因为 django-social-auth 和 python-social-auth 看起来是一样的,但它们不是。事实上 python-social-auth 是基于 django-social-auth 的。

现在我找不到任何可以比较这两者的资源。我什至无法在 python-social-auth 文档中找到为什么他们制作自己的项目而不是仅仅使用 django-social-auth。

对于我的项目,我需要选择这两个中的一个。你能帮我做这个选择吗?

想想你的时间。

【问题讨论】:

  • 帮助而不是粗鲁怎么样?我已经说过我在他们的文档中找不到它。

标签: django django-socialauth python-social-auth


【解决方案1】:

django-social-auth 已被弃用,取而代之的是 python-social-auth。它甚至说这是in the django-social-auth README

python-social-auth 是使用 django-social-auth 作为基础构建的。主要优点/区别在于它现在支持多个框架。

【讨论】:

    【解决方案2】:

    最新版本是 python-social-auth,django-socail-auth 已被弃用。

    python-social-auth 是一个非常模块化的库,旨在提供基本工具来在 Python 项目中实现社交身份验证/授权。出于这个原因,该项目被分成更小的组件,专注于提供更简单的功能。一些组件是:

    social-auth-core Core library that the rest depends on, this contains the basic functionality to establish an authentication/authorization flow with the diferent supported providers.
    social-auth-storage-sqlalchemy, social-auth-storage-peewee, social-auth-storage-mongoengine Different storage solutions that can be reused accross the supported frameworks or newer implementations.
    social-auth-app-django, social-auth-app-django-mongoengine Django framework integration
    social-auth-app-flask, social-auth-app-flask-sqlalchemy, social-auth-app-flask-mongoengine, social-auth-app-flask-peewee Flask framework integration
    social-auth-app-pyramid Pyramid framework integration
    social-auth-app-cherrypy Cherrypy framework integration
    social-auth-app-tornado Tornado framework integration
    social-auth-app-webpy Webpy framework integration
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-11
      • 2014-03-26
      • 2017-05-05
      • 2020-10-12
      • 1970-01-01
      • 2014-04-22
      相关资源
      最近更新 更多