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.7
- runs access rule override in decorator
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
Built Distribution
File details
Details for the file djaodjin_rules-0.4.7.tar.gz
.
File metadata
- Download URL: djaodjin_rules-0.4.7.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b4bb3dfce336921c900ff12a0d523bfb95c19dc5ff1756b2a3249e59dcadc7 |
|
MD5 | 69f78a8ffe58f48a9ada61daa166b974 |
|
BLAKE2b-256 | 162722fc79e22961d62a612d8471e4fec26f6757ce0f29296bd94eb21e57a16e |
File details
Details for the file djaodjin_rules-0.4.7-py3-none-any.whl
.
File metadata
- Download URL: djaodjin_rules-0.4.7-py3-none-any.whl
- Upload date:
- Size: 77.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4b0cfc23a2107923e9767c1acd8c4c14787ddde162dff24608197714f9c0c4 |
|
MD5 | 4da414a955ffa8bbe2632d32bf34be45 |
|
BLAKE2b-256 | d8ca7395e80a3b8452731ce54e7f15bd96dd829deb297bfabd27fb79d888fbe4 |