Skip to content

Example project

The reference demo uses the DLRSP/example repository on the django-iubenda branch. It shows a minimal Django site with iubenda and requests_api installed, policy URLs, and the usual Iubenda context processor.

Clone and run

git clone --depth=50 --branch=django-iubenda https://github.com/DLRSP/example.git example-iubenda
cd example-iubenda

python -m venv env
source env/bin/activate
# On Windows: env\Scripts\activate

pip install -r requirements/py39-django42.txt

python manage.py migrate
python manage.py runserver

Adjust the requirements/*.txt file to match your Python and Django versions if needed.

Then open http://127.0.0.1:8000 and use the privacy and cookie policy routes provided by django-iubenda (see the main installation guide).