Django app for displaying a consent to monitoring banner
Project description
Django consent app
This app provides a configurable notice of consent banner for Django. It uses Bootstrap CSS classes including container, alert, and alert-secondary.
Installation
pip install django-monitor-consent
- Add
consent
toINSTALLED_APPS
- Set
CONSENT_TEXT
in your settings:
CONSENT_TEXT = "This computer system is provided only for authorized use..."
- Include the banner template in your login page after loading the template tag:
{% load consent_tags %}
{% consent_banner %}
The text is automatically wrapped in paragraph tags. Put two line endings in the text to create a new paragraph.
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
Close
Hashes for django-monitor-consent-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740e73b8de36c5ce01e4d9e5e3bc670eae06516fb33a3a551277e23401bf27c8 |
|
MD5 | f135701e26eb9f125b4b41c95a597bc9 |
|
BLAKE2b-256 | 2392c4df8e6893f12f860839107a4dcfb8ee327dfeee16abdca0da0fb25058ad |
Close
Hashes for django_monitor_consent-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e7a161e0d3beb5d490b354349900450a3bb6e68f044fa295374d0000827954 |
|
MD5 | 5352662e927220efd6a13de49b10dcb8 |
|
BLAKE2b-256 | 31034fa49731466d2580764ace6e5bc360c859200e8778b3a6417c8db1ec8a0f |