Flexible framework to check permissions to URIs and forward HTTP requests
Project description
DjaoDjin-Rules
Flexible framework to check permissions to URIs and forward HTTP requests
This project contains bare bone templates. To see it in action, integrated into a full-fledged subscription-based session proxy with bootstrap-styled dashboards, take a look at djaoapp.
Development
After cloning the repository, create a virtualenv environment and install the prerequisites:
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install -r testsite/requirements.txt
It remains to create the database and populate it with test data.
$ python ./manage.py migrate --run-syncdb --noinput
$ python ./manage.py loaddata testsite/fixtures/test_data.json
Run the testsite
$ python ./manage.py runserver
Release Notes
Tested with
- Python: 3.7, Django: 3.2 (LTS)
- Python: 3.10, Django: 4.2 (latest)
- Python: 2.7, Django: 1.11 (legacy) - use testsite/requirements-legacy.txt
0.4.6
- hotfix requests library timeout cannot be zero
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djaodjin-rules-0.4.6.tar.gz
(51.6 kB
view hashes)
Built Distribution
Close
Hashes for djaodjin_rules-0.4.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8046494eab9ecd7d49dd85a59f5096c2f285368b195f13b8536e4de047b616a6 |
|
MD5 | 44615c1dd292c041865ebef453df6370 |
|
BLAKE2b-256 | ae28c3a615015028a8bf4e8509d1cb1843be1e101036f5ff6b9460ea4064fa5d |