Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.3 KB

File metadata and controls

47 lines (30 loc) · 1.3 KB

DjaoDjin-Rules

PyPI version

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.12, Django: 5.2 (LTS)
  • Python: 3.14, Django: 6.0 (next)
  • Python: 3.10, Django: 4.2 (legacy)
  • Python: 3.9, Django: 3.2 (legacy)

0.4.12

  • works around Django adding content to 204 response
  • uses native fetch instead of jquery in all UI components

previous release notes