vanilla-django-rest-auth

时间:2021-03-21 11:06:27
【文件属性】:
文件名称:vanilla-django-rest-auth
文件大小:21KB
文件格式:ZIP
更新时间:2021-03-21 11:06:27
Python 香草django-rest-auth 使用Django-rest-framework(drf)进行授权 1. with_third_party_packages 使用dj-rest-auth + django-allauth + django-rest-framework-simplejwt 2. no_third_party_packages 仅与Django-rest-framework-simplejwt 在1. with_third_party_packages上,实现起来容易得多。 (更多参考)但是由于库之间的依赖性,将至少创建7个表。在2. no_third_party_packages,需要制作dj-rest-auth用于本地注册的API,而django-allauth用于社交注册的API。 将遵循更多的端点。
【文件预览】:
vanilla-django-rest-auth-master
----README.md(635B)
----with_third_party_packages()
--------auth()
--------accounts()
--------manage.py(660B)
----no_third_party_package()
--------auth()
--------accounts()
--------manage.py(660B)

网友评论