【文件属性】:
文件名称:django-plexauth:Django plex.tv 身份验证后端
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-08 08:11:30
Python
django-plexauth
该模块提供了一个 Django 身份验证后端,用于对 plex.tv 进行身份验证。
正确设置后,您应该能够在 /auth/login 进行身份验证。
安装
安装的最快方法是通过 PyPi。 只需运行:
$ pip install django-plexauth
通过将 plexauth 模块放置在您的 python 路径中进行安装。
所有要求都可以通过 pip 安装:
$ pip install django django-bootstrap3 django-activelink requests
要求
>= 2.7.0
>= 1.8.0
>= 0.4
配置
在项目的 settings.py 文件中,确保您具有以下内容:
INSTALLED_APPS = (
...
' bootstrap3 ',
【文件预览】:
django-plexauth-master
----MANIFEST.in(110B)
----README.rst(2KB)
----plexauth()
--------urls.py(180B)
--------tests.py(60B)
--------migrations()
--------admin.py(551B)
--------__init__.py(0B)
--------models.py(2KB)
--------auth.py(2KB)
--------views.py(986B)
--------templates()
--------static()
----LICENSE(0B)
----setup.py(1KB)
----.gitignore(702B)