django-cookie-consent 0.2.6
pip install django-cookie-consent==0.2.6
Released:
Django cookie consent application
Navigation
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License
- Author: Informatika Mihelac
Classifiers
- Framework
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Django cookie consent
django-cookie-consent is a reusable application for managing various cookies and visitors consent for their use in Django project.
support ranges from django 1.9 to 3.0 and python 2.7 to 3.7
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
https://django-cookie-consent.readthedocs.org/en/latest/
Configuration
-
Add
cookie_consent
to yourINSTALLED_APPS
. -
Add
django.template.context_processors.request
toTEMPLATE_CONTEXT_PROCESSORS
if it is not already added. -
Include django-cookie-consent urls in
urls.py
::url(r'^cookies/', include('cookie_consent.urls'))
-
Run
migrate
django management command.
Example app
::
cd tests && ./manage.py runserver
Username and password for admin are 'administrator', 'password'.
Project details
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License
- Author: Informatika Mihelac
Classifiers
- Framework
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
File details
Details for the file django-cookie-consent-0.2.6.tar.gz
.
File metadata
- Download URL: django-cookie-consent-0.2.6.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d8a45711b2bc8ac89a542bfe32df120f2048555de7f837ee4f3206db17c65d88
|
|
MD5 |
2f2f3451d6c5cc2330b0a0f08e10857c
|
|
BLAKE2b-256 |
113e2844677eb0f4b1644c439424977f5099b40d42d22682b83fd50c954b71eb
|