Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django cookie consent application

Project Description

django-cookie-consent is a reusable application for managing various cookies and visitors consent for their use in Django project.


  • 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


  1. Add cookie_consent to your INSTALLED_APPS.

  2. Add django.core.context_processors.request to TEMPLATE_CONTEXT_PROCESSORS if it is not already added.

  3. Include django-cookie-consent urls in

    url(r'^cookies/', include('cookie_consent.urls'))
  4. Run syncdb or migrate django management command.

Example app

cd tests && ./ runserver

Username and password for admin are ‘admin’, ‘password’.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-cookie-consent-0.1.1.tar.gz (12.7 kB) Copy SHA256 Checksum SHA256 Source Jun 11, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting