django-oidc-user-0.3.6
توضیحات
Creates an OpenID Connect compliant User model.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-oidc-user-0.3.6 |
| نام | django-oidc-user |
| نسخه کتابخانه | 0.3.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Monte Hellawell |
| ایمیل نویسنده | monte@montudor.com |
| آدرس صفحه اصلی | https://github.com/montudor/django-oidc-user |
| آدرس اینترنتی | https://pypi.org/project/django-oidc-user/ |
| مجوز | - |
# Django OpenID Connect User
An extended User model that is designed to have the majority of the attributes of what the OpenID Connect specification mentions.
## How to install
Installation can be done with a single command:
```
$ pip install django-oidc-user
```
## How to use
Setup in your project is easy. Just add it to your installed apps:
```python
INSTALLED_APPS = [
. . .
'django_oidc_user',
]
```
And you will need to set it as your default User model, so add the following line to your settings:
```python
AUTH_USER_MODEL = 'django_oidc_user.User'
```
After you have done this make sure you **run migrations** using the following command:
```
$ python manage.py migrate django_oidc_user
```
You can import the model to use in your views like so:
```python
from django_oidc_user.models import User
```
نحوه نصب
نصب پکیج whl django-oidc-user-0.3.6:
pip install django-oidc-user-0.3.6.whl
نصب پکیج tar.gz django-oidc-user-0.3.6:
pip install django-oidc-user-0.3.6.tar.gz