djaodjin-deployutils-0.9.4
توضیحات
Deploy webapps running behind djaoapp session manager
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | djaodjin-deployutils-0.9.4 |
| نام | djaodjin-deployutils |
| نسخه کتابخانه | 0.9.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | The DjaoDjin Team |
| ایمیل نویسنده | support@djaodjin.com |
| آدرس صفحه اصلی | https://github.com/djaodjin/djaodjin-deployutils/ |
| آدرس اینترنتی | https://pypi.org/project/djaodjin-deployutils/ |
| مجوز | BSD |
DjaoDjin deployutils
====================
This Python module enables a Django or Flask project to seamlessly integrate
behind the [HTTP session manager reverse proxy](https://github.com/djaodjin/djaoapp).
It will replace the default ``django.contrib.sessions``
and ``AUTHENTICATION_BACKENDS`` to decode sessions forwarded to your project
by the HTTP session manager.
Tested with
- **Python:** 3.7, **Django:** 3.2 ([LTS](https://www.djangoproject.com/download/)), **Django Rest Framework:** 3.12
- **Python:** 3.10, **Django:** 4.0 (latest), **Django Rest Framework:** 3.12
- **Python:** 2.7, **Django:** 1.11 (legacy), **Django Rest Framework:** 3.9.4
[More technical documentation](https://djaodjin.com/docs/technical/)
Install
-------
Install deployutils into your environment
$ pip install djaodjin-deployutils
See the steps to [integrate with a Django project](docs/deploy-django.rst).
Development
-----------
Clone the repository in a virtualenv and install the prerequisites
$ virtualenv _installTop_
$ cd _installTop_
$ source bin/activate
$ git clone https://github.com/djaodjin/djaodjin-deployutils.git
$ cd djaodjin-deployutils
$ pip install -r testsite/requirements.txt
Create the credentials file with a ``DJAODJIN_SECRET_KEY`` and the empty db.
$ make initdb
Run the web application
$ python manage.py runserver
Browse to http://localhost:8000
Release Notes
=============
0.10.6
* uses `get_redirect_url` so it can be overriden in subclasses
* defaults `new_account_url` to implicit grant
[previous release notes](changelog)
نحوه نصب
نصب پکیج whl djaodjin-deployutils-0.9.4:
pip install djaodjin-deployutils-0.9.4.whl
نصب پکیج tar.gz djaodjin-deployutils-0.9.4:
pip install djaodjin-deployutils-0.9.4.tar.gz