معرفی شرکت ها


django-idshost-0.1.0-dev


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Django app to interface with the ids infrastructure.
ویژگی مقدار
سیستم عامل -
نام فایل django-idshost-0.1.0-dev
نام django-idshost
نسخه کتابخانه 0.1.0-dev
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Valentin Monte
ایمیل نویسنده valentin.monte@optiflows.com
آدرس صفحه اصلی https://github.com/optiflows/django-idshost
آدرس اینترنتی https://pypi.org/project/django-idshost/
مجوز Apache License 2.0
# django-idshost Django app to integrate your project in the ids infrastructure. ### Installation You can get django-idshost from PyPi: ```bash pip install django-idshost ``` ### Configure To use the app you should add it to your `INSTALLED_APPS` in `settings.py`. ```python INSTALLED_APPS = ( ... 'django_idshost', ... ) ``` Django-idshost custom the backend, the midleware and the model of the django user, so you have to override these datas in the `settings.py`. ```python AUTHENTICATION_BACKENDS = ( 'django_idshost.auth.idsauth.IdsRemoteUserBackend', #use to authenticate an ids user 'django.contrib.auth.backends.ModelBackend',#if you want to keep the default authentication, keep this line ) MIDDLEWARE_CLASSES = ( ... 'django_idshost.auth.idsauth.IdsHeaderMiddleware',#allow the specific http header use by ids to transmit the authenticate user ... ) AUTH_USER_MODEL = 'django_idshost.IdsUser' ``` You should also add your ids datas in the `settings.py`. These datas are transmited by ids. ```python DJANGO_IDSHOST_SETTINGS = { 'APP_NAME': '...', #the name of the app 'xxx.idshost.fr' 'PRIVATE_IP': '...',#the private ip of your server in the ids infrastructure } ```


نحوه نصب


نصب پکیج whl django-idshost-0.1.0-dev:

    pip install django-idshost-0.1.0-dev.whl


نصب پکیج tar.gz django-idshost-0.1.0-dev:

    pip install django-idshost-0.1.0-dev.tar.gz