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-anm",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Informatika Mihelac",
"author_email": "bmihelac@mihelac.org",
"download_url": "",
"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.6a0",
"project_urls": {
"Homepage": "https://gitlab.com/paxsolutions/django-cookie-consent"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c835c274243f0e5465e91e2290116c5ad06512dbed467056410e6e215834197",
"md5": "4a3ed4c930cd601b9d530b3c5dc629dc",
"sha256": "ab234d1940bc6e398bb33c27cf8da6675b8a22ae5c562fe260502cb0493b65c9"
},
"downloads": -1,
"filename": "django_cookie_consent_anm-0.2.6a0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "4a3ed4c930cd601b9d530b3c5dc629dc",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 17296,
"upload_time": "2023-11-14T11:01:28",
"upload_time_iso_8601": "2023-11-14T11:01:28.868618Z",
"url": "https://files.pythonhosted.org/packages/4c/83/5c274243f0e5465e91e2290116c5ad06512dbed467056410e6e215834197/django_cookie_consent_anm-0.2.6a0-py2-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-14 11:01:28",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "paxsolutions",
"gitlab_project": "django-cookie-consent",
"lcname": "django-cookie-consent-anm"
}