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:
{% include "consent/banner.html" %}
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e7789a6c77a3a09f9fe3075d8a9b2a280ecb8276d2cb34541bbf4169575aba3 |
|
MD5 | f1b1646bbe6d8aab110abe196719b0ce |
|
BLAKE2b-256 | 7a752927a55e528c817e4c0f8ad2ed6c831e88913eef129a7914126adf6c2705 |
Close
Hashes for django_monitor_consent-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1383d71b293601a0cf5e4a8079732e9d5c0bd828aae023f88e08d71876776bae |
|
MD5 | d6346a822ec814fa10be4a5fbe77df49 |
|
BLAKE2b-256 | 527e5bfaa849dbd8f6de91f27aecc91c450bf0eea0fb146cddc6273f6285b2ab |