Skip to main content

Django plugin to add and configure the Cookie Control by Civic UK

Project description

# django-cookie-control
A Django plugin to integrate the Civic UK Cookie Control (

The plugin is compatible with Django, DjangoCMS and Django/CMS multisite.

## To install
Install the application via pip:

`pip install django-cookie-control`

Add 'django_cookie_control' to installed apps:


Run or make migrations:

`python.exe migrate`

## To configure

For a full list of configuration settings see the Civic UK site, here:

Plugin configuration overview:

1. Add a new configuration - custom configuration for different sites via multisite.


2. Configure Main Settings
- Site name
- API key
- Cookie Control product version: Community, Pro, Pro Multisite


3. Display Options
- Position
- Theme style
- Toggle type
- Close style


4. Text and Accessibility


5. Custom Settings


6. Pro and Pro_Multisite Settings
A series of settings for the paid Pro plugins, including:
- Custom text
- Custom formatting


7. Cookies
- Necessary Cookies
- A simple list of cookie names, including wildcards that are necessary for the site
- A default list for Django, DjangoCMS, and AWS are already included.
- Optional Cookies
- Add an optional cookie or package of cookies that can be turned off for the site
- Using separate functions On Accept or for On Revoke the cookies can be customised to be disable or enabled.


## To Test
Use IE11's emulation to test this tool -

Project details

Download files

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

Files for django-cookie-control, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_cookie_control-1.0.2-py3-none-any.whl (27.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django_cookie_control-1.0.2.tar.gz (24.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page