Skip to main content

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

  1. pip install django-monitor-consent
  2. Add consent to INSTALLED_APPS
  3. Set CONSENT_TEXT in your settings:
CONSENT_TEXT = "This computer system is provided only for authorized use..."
  1. 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-monitor-consent-1.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_monitor_consent-1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

Release history Release notifications | RSS feed

This release

1.1 This release

2 files

1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page