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.
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
Configuration
Add coookie_consent to your INSTALLED_APPS.
Add django.core.context_processors.request to TEMPLATE_CONTEXT_PROCESSORS if it is not already added.
Include django-cookie-consent urls in urls.py:
url(r'^cookies/', include('cookie_consent.urls'))
Run syncdb or migrate django management command.
Example app
cd tests && ./manage.py runserver
Username and password for admin are ‘admin’, ‘password’.
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
Hashes for django-cookie-consent-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3bab828bbe3e16287a179f8bff9dddb7dd424761deff7a4b9c5e0cfd96526cd |
|
MD5 | cc44f205f423c140fd3752d2ec41fea6 |
|
BLAKE2b-256 | 9ed20805017412d546a14b0995af0e3d4124a19c4613b7949a6dee7133579e5b |
Hashes for django-cookie-consent-0.1.macosx-10.8-x86_64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | c034b7716543821f2939d175a871ad8efbb7be3127579c8a20f443bf9bc3b139 |
|
MD5 | 482b66f3485ee32359237ea9ae2ba0b8 |
|
BLAKE2b-256 | 0e93846f6e7059d62dffce7ad84b799f86643d97531a91fcc511d303ede3861d |