Django cookie consent
=====================
[![Build Status](https://travis-ci.com/bmihelac/django-cookie-consent.svg?branch=master)](https://travis-ci.com/bmihelac/django-cookie-consent)
![PyPI - License](https://img.shields.io/pypi/l/django-cookie-consent)
[![PyPI](https://img.shields.io/pypi/v/django-cookie-consent)](https://pypi.python.org/pypi/django-cookie-consent)
![PyPI](https://img.shields.io/pypi/pyversions/django-cookie-consent)
![PyPI](https://img.shields.io/pypi/djversions/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
-------------
1. Add ``cookie_consent`` to your ``INSTALLED_APPS``.
2. Add ``django.template.context_processors.request``
to ``TEMPLATE_CONTEXT_PROCESSORS`` if it is not already added.
3. Include django-cookie-consent urls in ``urls.py``::
url(r'^cookies/', include('cookie_consent.urls'))
4. Run ``migrate`` django management command.
Example app
-----------
::
cd tests && ./manage.py runserver
Username and password for admin are 'administrator', 'password'.
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/paxsolutions/django-cookie-consent",
"name": "django-cookie-consent-pax",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Informatika Mihelac",
"author_email": "bmihelac@mihelac.org",
"download_url": "https://files.pythonhosted.org/packages/c0/80/3f5975526d3d97a4a58dcdbba0756ab4a1bb1a62d4e6ca30d7df264e7c3c/django-cookie-consent-pax-0.2.6.tar.gz",
"platform": null,
"description": "Django cookie consent\n=====================\n\n[![Build Status](https://travis-ci.com/bmihelac/django-cookie-consent.svg?branch=master)](https://travis-ci.com/bmihelac/django-cookie-consent)\n![PyPI - License](https://img.shields.io/pypi/l/django-cookie-consent)\n[![PyPI](https://img.shields.io/pypi/v/django-cookie-consent)](https://pypi.python.org/pypi/django-cookie-consent)\n![PyPI](https://img.shields.io/pypi/pyversions/django-cookie-consent)\n![PyPI](https://img.shields.io/pypi/djversions/django-cookie-consent)\n\n\ndjango-cookie-consent is a reusable application for managing various\ncookies and visitors consent for their use in Django project.\n\nsupport ranges from django 1.9 to 3.0 and python 2.7 to 3.7\n\nFeatures:\n\n* cookies and cookie groups are stored in models for easy management\n through Django admin interface\n\n* support for both opt-in and opt-out cookie consent schemes\n\n* removing declined cookies (or non accepted when opt-in scheme is used)\n\n* logging user actions when they accept and decline various cookies\n\n* easy adding new cookies and seamlessly re-asking for consent for new cookies\n\nDocumentation\n-------------\n\nhttps://django-cookie-consent.readthedocs.org/en/latest/\n\n\nConfiguration\n-------------\n\n1. Add ``cookie_consent`` to your ``INSTALLED_APPS``.\n\n2. Add ``django.template.context_processors.request``\n to ``TEMPLATE_CONTEXT_PROCESSORS`` if it is not already added.\n\n3. Include django-cookie-consent urls in ``urls.py``::\n\n url(r'^cookies/', include('cookie_consent.urls'))\n\n4. Run ``migrate`` django management command.\n\n\nExample app\n-----------\n\n::\n\n cd tests && ./manage.py runserver\n\nUsername and password for admin are 'administrator', 'password'.\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Django cookie consent application",
"version": "0.2.6",
"project_urls": {
"Homepage": "https://gitlab.com/paxsolutions/django-cookie-consent"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "76e1144aa9fbde5c1ea17be764367ca0cf450235e644a1b7e1aa636edd406df7",
"md5": "4f3f1106be87f354dcf91f23285fec41",
"sha256": "3d031766d27b25ebca03fb56d11ad05fbf5684fc016110b470802d86d9c2f299"
},
"downloads": -1,
"filename": "django_cookie_consent_pax-0.2.6-py2-none-any.whl",
"has_sig": false,
"md5_digest": "4f3f1106be87f354dcf91f23285fec41",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 17266,
"upload_time": "2023-11-14T11:04:40",
"upload_time_iso_8601": "2023-11-14T11:04:40.244282Z",
"url": "https://files.pythonhosted.org/packages/76/e1/144aa9fbde5c1ea17be764367ca0cf450235e644a1b7e1aa636edd406df7/django_cookie_consent_pax-0.2.6-py2-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c0803f5975526d3d97a4a58dcdbba0756ab4a1bb1a62d4e6ca30d7df264e7c3c",
"md5": "27b717f0ba91ebe30b1438696a486953",
"sha256": "4da405398e76743db7b1128bfba3ed9a3f23e6d54cc33593bab8621291a2dfdb"
},
"downloads": -1,
"filename": "django-cookie-consent-pax-0.2.6.tar.gz",
"has_sig": false,
"md5_digest": "27b717f0ba91ebe30b1438696a486953",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 13019,
"upload_time": "2023-11-14T11:04:41",
"upload_time_iso_8601": "2023-11-14T11:04:41.545061Z",
"url": "https://files.pythonhosted.org/packages/c0/80/3f5975526d3d97a4a58dcdbba0756ab4a1bb1a62d4e6ca30d7df264e7c3c/django-cookie-consent-pax-0.2.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-14 11:04:41",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "paxsolutions",
"gitlab_project": "django-cookie-consent",
"lcname": "django-cookie-consent-pax"
}