{ "info": { "author": "Piotr Kilczuk", "author_email": "piotr@tymaszweb.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: JavaScript", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Session" ], "description": "==================\ndjango-cookie-law\n==================\n\n.. image:: https://travis-ci.org/TyMaszWeb/django-cookie-law.svg?branch=master\n :target: https://travis-ci.org/TyMaszWeb/django-cookie-law\n\ndjango-cookie-law helps your Django project comply with the\n`EU cookie regulations `_.\nby displaying a cookie information banner until it is dismissed by the user.\n\n.. warning:: The app can be incompatible with your local cookie\n law regulations. Consult your lawyer when in doubt.\n\nContributions and comments are welcome using Github at:\nhttp://github.com/TyMaszWeb/django-cookie-law\n\nPlease note that django-cookie-law requires:\n\n- Django >= 1.8\n- django-classy-tags >= 0.3.0\n\nInstallation\n============\n\n#. ``pip install django-cookie-law``\n#. Add ``'cookielaw'`` to ``INSTALLED_APPS``\n#. Run ``collectstatic`` (Django 1.3+) or copy the statics to your media directory\n#. Add ``cookielaw/js/cookielaw.js`` to the markup directly or via your asset\n manager such as ``django-pipeline`` or ``django-compressor``\n#. If you're using Django > 1.8, enable ``'django.core.context_processors.request'`` in your ``TEMPLATES['OPTIONS']`` setting, eg.:\n\n ::\n\n TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [],\n 'APP_DIRS': True,\n 'OPTIONS': {\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.core.context_processors.i18n',\n 'django.core.context_processors.media',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',\n 'django.core.context_processors.static',\n 'django.core.context_processors.tz',\n 'django.contrib.messages.context_processors.messages',\n ],\n },\n },\n ]\n\nIf you're using an older version of Django (< 1.8) then you'll want to change the \n``TEMPLATE_CONTEXT_PROCESSORS`` setting, eg.:\n\n ::\n\n TEMPLATE_CONTEXT_PROCESSORS = (\n 'django.contrib.auth.context_processors.auth',\n 'django.core.context_processors.debug',\n 'django.core.context_processors.i18n',\n 'django.core.context_processors.media',\n 'django.core.context_processors.request',\n 'django.core.context_processors.static',\n 'django.core.context_processors.tz',\n 'django.contrib.messages.context_processors.messages'\n )\n\n\n\n .. note:: N.b. versions below 1.8 are not officially supported.\n\n .. note:: If you don't have this setting defined, just add it to your settings module.\n\n#. ``{% load cookielaw_tags %}`` and add ``{% cookielaw_banner %}`` template\n tag where you want to display the cookielaw banner. Best place for this is\n your 'base' template, so you will have the cookie banner on every page of\n your website.\n\nConfiguration\n=============\n\nIf you want to use our default template, add ``cookielaw/css/cookielaw.css`` to\nthe markup and you should see the cookie law banner at the top of the page until\nyou dismiss it with the button in the top-right. This CSS is Twitter Bootstrap\ncompatible, but chances are, you'll like to adjust it anyway.\n\nTo change the markup, just add a template named ``cookielaw/banner.html`` and\nmake sure it is loaded before the default template (for example put the\n``django.template.loaders.filesystem.Loader`` before\n``django.template.loaders.app_directories.Loader`` and add your new template\nto any of the ``TEMPLATE_DIRS``).\n\nTo change the CSS, just write your own rules and don't include the default\nstylesheet.\n\nBugs & Contribution\n===================\n\nPlease use Github to report bugs, feature requests and submit your code:\nhttp://github.com/TyMaszWeb/django-cookie-law\n\n:author: Piotr Kilczuk\n:date: 2013/04/08\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TyMaszWeb/django-cookie-law", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-cookie-law", "package_url": "https://pypi.org/project/django-cookie-law/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-cookie-law/", "project_urls": { "Homepage": "https://github.com/TyMaszWeb/django-cookie-law" }, "release_url": "https://pypi.org/project/django-cookie-law/2.0.2/", "requires_dist": [ "Django (>=1.8)", "django-classy-tags (>=0.3.0)", "pytest-runner (>=2.11.1)" ], "requires_python": "", "summary": "Helps your Django project comply with EU cookie law regulations", "version": "2.0.2" }, "last_serial": 5675732, "releases": { "0.5.0": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "804deed42bb69583895a203e14c1bb67", "sha256": "c2d6daec315315afa069a881d56a4edc238ebaa1e0c2c63b4671ab3f216d0679" }, "downloads": -1, "filename": "django-cookie-law-1.0.0.tar.gz", "has_sig": false, "md5_digest": "804deed42bb69583895a203e14c1bb67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9643, "upload_time": "2013-05-10T23:15:43", "url": "https://files.pythonhosted.org/packages/99/dc/0f4faec13feb05833d9263a416f644764412e4c8f672cf290915e7f24179/django-cookie-law-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3309a59e106b84ffc5f1e542f2c8e79e", "sha256": "33517267cbcd0f35326a9cba26d428458d99dc25efae6c6d687614963f84399b" }, "downloads": -1, "filename": "django-cookie-law-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3309a59e106b84ffc5f1e542f2c8e79e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8347, "upload_time": "2014-06-12T23:51:55", "url": "https://files.pythonhosted.org/packages/53/b5/79ba02f2293ddbaa6f871dd22e149374853e9c19ab19bbda4461e7a0452f/django-cookie-law-1.0.1.tar.gz" } ], "1.0.10": [ { "comment_text": "", "digests": { "md5": "2210a451155dc8b4749d0bc0f2c463a1", "sha256": "6f680dbacf555b608a710eefccd72a56c69d66e91648b498430996ec90e419d4" }, "downloads": -1, "filename": "django-cookie-law-1.0.10.tar.gz", "has_sig": false, "md5_digest": "2210a451155dc8b4749d0bc0f2c463a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11237, "upload_time": "2016-09-12T11:33:57", "url": "https://files.pythonhosted.org/packages/53/bb/6159ca3c2d266b316de87eeb21913d3391a92f48d5c994f5099ded0393db/django-cookie-law-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "7db0748d0994f480ac5cb9bb63387662", "sha256": "ce997e006eaa713472fde9c913235ae1a9f414ea552823e107cf76b5cdb9df3b" }, "downloads": -1, "filename": "django-cookie-law-1.0.11.tar.gz", "has_sig": false, "md5_digest": "7db0748d0994f480ac5cb9bb63387662", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11651, "upload_time": "2016-09-26T13:40:05", "url": "https://files.pythonhosted.org/packages/0f/1a/251345f1a9c3e08247cb670ea953dae8fd3391f554b1c20474953b9d5228/django-cookie-law-1.0.11.tar.gz" } ], "1.0.12": [ { "comment_text": "", "digests": { "md5": "beff5777630d8dfda05331c0d70df631", "sha256": "6ee779d6cbd3e291a65cb4c6dbee6e616c422cff1e604b7870a7c9e9f28c32d4" }, "downloads": -1, "filename": "django-cookie-law-1.0.12.tar.gz", "has_sig": false, "md5_digest": "beff5777630d8dfda05331c0d70df631", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11995, "upload_time": "2016-11-10T17:29:47", "url": "https://files.pythonhosted.org/packages/cb/6b/99f33dd942f9445760e8c922c319f4049ada18646add67475649bec40e8d/django-cookie-law-1.0.12.tar.gz" } ], "1.0.13": [ { "comment_text": "", "digests": { "md5": "e935939b7f26d5893b31eacd7b943b0d", "sha256": "7fdd983bf98df77cc0d82fe298ee7f2dc39d7a58eae545ef5d6f807311f58b62" }, "downloads": -1, "filename": "django-cookie-law-1.0.13.tar.gz", "has_sig": false, "md5_digest": "e935939b7f26d5893b31eacd7b943b0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12123, "upload_time": "2016-12-23T17:13:46", "url": "https://files.pythonhosted.org/packages/e3/52/d531d181bc6faac976f7fe2d5d788ff3619a8577720c86f1d5633041b9c3/django-cookie-law-1.0.13.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "97ed59bd2518715f2b9290bea0143b7e", "sha256": "d4c6d18be96542e404fd330d714f19b9566b11ef77e07f6643d64763559813f4" }, "downloads": -1, "filename": "django-cookie-law-1.0.2.tar.gz", "has_sig": false, "md5_digest": "97ed59bd2518715f2b9290bea0143b7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9662, "upload_time": "2015-05-06T16:57:53", "url": "https://files.pythonhosted.org/packages/66/d2/6682f3f3d76a40668f05d59418d94b9701ca2dcbe569305bf526e0c9fc8e/django-cookie-law-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "69033e04b8970436fcff7a10e8135a6d", "sha256": "cd40dbabdcc5fa7685e848d80a267e6ea7b961c59df702a3ac08df6d778ff878" }, "downloads": -1, "filename": "django-cookie-law-1.0.3.tar.gz", "has_sig": false, "md5_digest": "69033e04b8970436fcff7a10e8135a6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10438, "upload_time": "2015-06-03T21:43:14", "url": "https://files.pythonhosted.org/packages/8f/d0/0bd38de9bd5ff78855108e9b9de4cea2a219ba1986b2ab498eff5564b17c/django-cookie-law-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "bf5c3295bbdb1fbb00511d8f6120f295", "sha256": "210ef18b8d3faec7384dd3abdda7df93c65e8c2a5d8c5edb365ff0ff1e21fc23" }, "downloads": -1, "filename": "django-cookie-law-1.0.4.tar.gz", "has_sig": false, "md5_digest": "bf5c3295bbdb1fbb00511d8f6120f295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10515, "upload_time": "2015-06-03T22:00:21", "url": "https://files.pythonhosted.org/packages/6b/e3/b1f6657e74d2fc863a040537d7aabfa49dfe9f6ccbc95792f601636d841c/django-cookie-law-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "9ccbea226cb733aee7842f5ae025144e", "sha256": "e7f8bc9b389248fd656032ec3538e55c200959873a4f213bb3a6fc67b5d89974" }, "downloads": -1, "filename": "django-cookie-law-1.0.5.tar.gz", "has_sig": false, "md5_digest": "9ccbea226cb733aee7842f5ae025144e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10811, "upload_time": "2015-07-17T13:13:34", "url": "https://files.pythonhosted.org/packages/ea/09/a65ff50b892ac7b1a18032d9cb8ac39c9e68fcd4f21588ea611d9e8f8b84/django-cookie-law-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "26079a9100ad5869c18a2238898189b0", "sha256": "a21ceb38d6da6c1cdec3ea0a190824bcf8e149aef10ba969389599645d8f5017" }, "downloads": -1, "filename": "django-cookie-law-1.0.6.tar.gz", "has_sig": false, "md5_digest": "26079a9100ad5869c18a2238898189b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11049, "upload_time": "2015-08-03T12:57:14", "url": "https://files.pythonhosted.org/packages/9d/e4/f2954382ec887a312f06171953dac956dbdedfa94cedc1e83082770f8280/django-cookie-law-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "f3bf695b11b04f8661af49285c44f557", "sha256": "99a6e0de61be684e846c61042c185e52dbf294d4137348f9cfa155cf0090602f" }, "downloads": -1, "filename": "django-cookie-law-1.0.7.tar.gz", "has_sig": false, "md5_digest": "f3bf695b11b04f8661af49285c44f557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10646, "upload_time": "2016-04-22T12:21:04", "url": "https://files.pythonhosted.org/packages/c2/36/f9f5f0890fe7856fd124b5ecc4c54a910adfd8a04c194cf08bd0d16df36b/django-cookie-law-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "1c16ebc18cf333320287ea2a749820ef", "sha256": "439d4a4e250b56cf9287c1eb953eb91f24b24662e943861061e9dbfa443835f2" }, "downloads": -1, "filename": "django-cookie-law-1.0.8.tar.gz", "has_sig": false, "md5_digest": "1c16ebc18cf333320287ea2a749820ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11063, "upload_time": "2016-06-03T11:07:27", "url": "https://files.pythonhosted.org/packages/54/f3/9b713ce614c9e8581998315db23405f11924e5935bf1be38876d35855209/django-cookie-law-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "3170cb1af08b673b123ffd3e6da250c2", "sha256": "392221287a0f9dac440b7e71f1525db0bf047e2fa2bb430d6174756d9a060dd3" }, "downloads": -1, "filename": "django-cookie-law-1.0.9.tar.gz", "has_sig": false, "md5_digest": "3170cb1af08b673b123ffd3e6da250c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11164, "upload_time": "2016-08-16T10:40:30", "url": "https://files.pythonhosted.org/packages/39/10/d69c9a2cca8bc488d4d625843be0db1b181c72c817967c6db4539c9c762a/django-cookie-law-1.0.9.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "1556bf31a57a127cfb1bf0bda5314be7", "sha256": "52bd0052ca3d80fa6a5e30a7a5eaa5359f51dc4f5e2221df3aee34d9fcabe63a" }, "downloads": -1, "filename": "django-cookie-law-2.0.0.tar.gz", "has_sig": false, "md5_digest": "1556bf31a57a127cfb1bf0bda5314be7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11934, "upload_time": "2018-03-28T07:50:57", "url": "https://files.pythonhosted.org/packages/c2/6f/1ad672ebfb9fdc5494a3d64f34037bacca5f60869107298e78308b3beebb/django-cookie-law-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "d733f79c52ad5308f4966a4a06f01f50", "sha256": "cb8500c5db6285e31fd2ce224eadcda9834e79fe39031fc79e69371fe4f9ad7b" }, "downloads": -1, "filename": "django-cookie-law-2.0.1.tar.gz", "has_sig": false, "md5_digest": "d733f79c52ad5308f4966a4a06f01f50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12273, "upload_time": "2018-04-04T18:29:57", "url": "https://files.pythonhosted.org/packages/b6/67/c256a64ffb8d8c0509c1af92fece179707ec5e5edf0175f8a15a20ef4b4f/django-cookie-law-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "728f31fc3ea322d1ef617a65dbc15839", "sha256": "9aa148b901e8c96256f513e5b4d9eb4be9541e995727aa41eb30bf52dc2f6c87" }, "downloads": -1, "filename": "django_cookie_law-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "728f31fc3ea322d1ef617a65dbc15839", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26473, "upload_time": "2019-08-14T08:30:25", "url": "https://files.pythonhosted.org/packages/f5/d1/67d111768b76c76eeff267ab78d18ebe4326fae70adc9e90618ba3a033c0/django_cookie_law-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baa59a42a87eacbee9605d2f081ce4d0", "sha256": "60613b202ca882746c86cd5e09c015667fd316ed7320c2ea4cdd651c58380be8" }, "downloads": -1, "filename": "django-cookie-law-2.0.2.tar.gz", "has_sig": false, "md5_digest": "baa59a42a87eacbee9605d2f081ce4d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13708, "upload_time": "2019-08-14T08:30:27", "url": "https://files.pythonhosted.org/packages/db/43/c757707572c5f2f9292be4483fb137d4ae33db5d855ec4f33cb95656ec6c/django-cookie-law-2.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "728f31fc3ea322d1ef617a65dbc15839", "sha256": "9aa148b901e8c96256f513e5b4d9eb4be9541e995727aa41eb30bf52dc2f6c87" }, "downloads": -1, "filename": "django_cookie_law-2.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "728f31fc3ea322d1ef617a65dbc15839", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26473, "upload_time": "2019-08-14T08:30:25", "url": "https://files.pythonhosted.org/packages/f5/d1/67d111768b76c76eeff267ab78d18ebe4326fae70adc9e90618ba3a033c0/django_cookie_law-2.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "baa59a42a87eacbee9605d2f081ce4d0", "sha256": "60613b202ca882746c86cd5e09c015667fd316ed7320c2ea4cdd651c58380be8" }, "downloads": -1, "filename": "django-cookie-law-2.0.2.tar.gz", "has_sig": false, "md5_digest": "baa59a42a87eacbee9605d2f081ce4d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13708, "upload_time": "2019-08-14T08:30:27", "url": "https://files.pythonhosted.org/packages/db/43/c757707572c5f2f9292be4483fb137d4ae33db5d855ec4f33cb95656ec6c/django-cookie-law-2.0.2.tar.gz" } ] }