Flexible framework to check permissions to URIs and forward HTTP requests
Project description
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), Django Rest Framework: 3.12
- Python: 3.10, Django: 4.2 (latest)
- Python: 2.7, Django: 1.11 (legacy) - use testsite/requirements-legacy.txt
0.4.2
- fixes error when OPTIONS on restframework View subclass
- removes dependency on vue-infinite-loading.js
- installs using pyproject.toml
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.2.tar.gz
(50.3 kB
view hashes)
Built Distribution
Close
Hashes for djaodjin_rules-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39291d60c4218090121ad5d4d4c3156d0186aa285e7a354c0f625386209f0fc2 |
|
MD5 | 0ed5036eb6e03b7a86a3b9599616e0b1 |
|
BLAKE2b-256 | a8ea4cedc1f8b722498b8b8c6b8d86bfb9bd407f958621e5370504df6e49d8b1 |