Skip to main content

Django cookie consent

Manage cookie information and let visitors give or reject consent for them.

License Build status Code Quality Code style: ruff Test coverage Documentation

Supported python versions Supported Django versions PyPI version NPM version

Features

  • cookies and cookie groups are stored in models for easy management through Django admin interface
  • support for both opt-in and opt-out cookie consent schemes
  • removing declined cookies (or non accepted when opt-in scheme is used)
  • logging user actions when they accept and decline various cookies
  • easy adding new cookies and seamlessly re-asking for consent for new cookies

Documentation

The documentation is hosted on readthedocs and contains all instructions to get started.

Alternatively, if the documentation is not available, you can consult or build the docs from the docs directory in this repository.

Metadata

Release files for django-cookie-consent 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-cookie-consent 1.0.0
File Size Uploaded Provenance
django_cookie_consent-1.0.0.tar.gz 30.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-cookie-consent 1.0.0
File Interpreter ABI Platform
django_cookie_consent-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.6 kB

Security for django-cookie-consent 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_cookie_consent-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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