{ "info": { "author": "Wouter Lansu", "author_email": "wfrlansu@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "Django cookie law\r\n=================\r\nThis is a Django application that makes it easy to implement cookies compliant with Dutch law, as far as I am able\r\nto tell. I'm not a lawyer, so use at your own risk.\r\n\r\nUpdating\r\n========\r\n\r\nFrom 0.1.6 to 0.2 or higher\r\n-------------------\r\n\r\nThe model has changed, run South migrations. Multilingual support has been added. Optional title and close fields\r\nadded.\r\n\r\n\r\nFrom 0.1.4 to 0.1.5\r\n--------------------\r\n\r\nIf you're updating from 0.1.4 to 0.1.5 take note that the CookieBar model has changed,\r\nyou should run the South migrations.\r\n\r\n\r\nRequirements\r\n============\r\n\r\n- jQuery>=1.5.1\r\n\r\nUsage\r\n=====\r\n\r\n- Add the cookie_law app to your INSTALLED_APPS.\r\n- Add 'url(r'^cookies/', include('cookie_law.urls')),' to your main urls.py, without the ''.\r\n- Run the cookie_law migrations or syncdb if you don't use South, but you should.\r\n- Load the cookie_bar template tags and include {% show_cookie_bar %} under the tag in your base template.\r\n- Create a cookie bar in the admin (if you do not a default bar will be created, you should edit this asap).\r\n- Surround your cookies with {% if request.COOKIES.allow_cookies == '1' %} {% endif %}\r\n\r\n\r\nCookie Bar Details\r\n------------------\r\n\r\n- Optional title:\r\n This title can be displayed as a title for your text\r\n- Optional link cookie policy page:\r\n If you want a page explaining what kind of cookies you use and why place the full url here.\r\n- Optional display name of the link:\r\n This will be displayed after the display text. For instance:\r\n \"This site uses cookies, read about it \"\r\n- Title of the allow cookie button:\r\n This will be the text shown in the cookie bar button.\r\n- Text:\r\n The text displayed in the cookie bar.\r\n- \"This cookie bar is displayed\":\r\n Check this if you want this particular cookie bar to be shown.\r\n Cookie bars without this boolean will not be shown.\r\n- Optional \"Show a close (dismiss) button for this cookie bar\" boolean:\r\n The close field is used when you want to give visitors the option to hide the cookie bar\r\n while not accepting cookies. This is turned off by default.\r\n- Optional Language:\r\n You can create a cookie bar for multiple languages, read more about this in the Multilingual support section.\r\n Each of these cookie bars will need the \"This cookie bar is displayed\" boolean set to True.\r\n\r\n\r\nMultilingual Support\r\n--------------------\r\n\r\nIf you want multilingual support add the languages you want to your settings file.\r\nLANGUAGES = (('nl','Nederlands'), ('en','English'))\r\nEvery time the cookie bar template tag is called it will check if a cookie bar exists for each language,\r\nif not; one will be created. It is up to you to translate these into the right language.\r\nYou can do this via the admin.\r\n\r\nThe multilingual support works by checking for a LANGUAGE_CODE in the request.\r\nLocalization middleware should handle this. If this doesn't exist the default Dutch cookie bar will be used.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/wlansu/django_cookie_law_nl/", "keywords": "", "license": "Copyright (c) 2012, Wouter Lansu All rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without\r\nmodification, are permitted provided that the following conditions are met:\r\n\r\nRedistributions of source code must retain the above copyright notice, this\r\nlist of conditions and the following disclaimer. Redistributions in binary\r\nform must reproduce the above copyright notice, this list of conditions and the\r\nfollowing disclaimer in the documentation and/or other materials provided with\r\nthe distribution. Neither the name of the Getlogic B.V. nor the names of its\r\ncontributors may be used to endorse or promote products derived from this\r\nsoftware without specific prior written permission. THIS SOFTWARE IS PROVIDED\r\nBY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED\r\nWARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO\r\nEVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\r\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\r\nBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\r\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\r\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\r\nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": "", "maintainer_email": "", "name": "django-cookie-law-nl", "package_url": "https://pypi.org/project/django-cookie-law-nl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cookie-law-nl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/wlansu/django_cookie_law_nl/" }, "release_url": "https://pypi.org/project/django-cookie-law-nl/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Django specific cookie implementation compliant with Dutch law, use at your own risk.", "version": "0.2.1" }, "last_serial": 985186, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "f4d81f06964e9417af9c4303f3e6503b", "sha256": "150b695ccd75886412e6012b74c7c2f974f54f5960dbbe0851bccae8010541c7" }, "downloads": -1, "filename": "django-cookie-law-nl-0.1.4.tar.gz", "has_sig": false, "md5_digest": "f4d81f06964e9417af9c4303f3e6503b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4899, "upload_time": "2012-11-21T15:49:32", "url": "https://files.pythonhosted.org/packages/be/52/e2fdac50a3fa43f486d6741ecefce03a092199284b1776d097f624faee9e/django-cookie-law-nl-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "fabbd37a3243ff89d2fab7c6e0207afc", "sha256": "1a37d83b31601da722c4be98721069f46cec904667fe34e917a5c951f320b53f" }, "downloads": -1, "filename": "django-cookie-law-nl-0.1.5.tar.gz", "has_sig": false, "md5_digest": "fabbd37a3243ff89d2fab7c6e0207afc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5909, "upload_time": "2012-11-22T12:51:06", "url": "https://files.pythonhosted.org/packages/37/10/fcb6d9ae5bcfb7b53a6ea7cbc25586b4be0ab83330affdc22a88836a0eea/django-cookie-law-nl-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "0ec8dd58e5e527cddb514d43e0b73554", "sha256": "e181d5597959c3a24f1972506a9f577ad4e8e7e3ece6d9c3beb9eaa023cb67da" }, "downloads": -1, "filename": "django-cookie-law-nl-0.1.6.tar.gz", "has_sig": false, "md5_digest": "0ec8dd58e5e527cddb514d43e0b73554", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5955, "upload_time": "2012-12-04T09:33:30", "url": "https://files.pythonhosted.org/packages/04/db/39fad356a9f498109981bd6b19107b726f81e3b5e207486901d3fc67cfeb/django-cookie-law-nl-0.1.6.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "038e107e7e663588618dc07e522be581", "sha256": "f59343e23ae517db18716809e86299032821840ee244ec73dd2da42789617e33" }, "downloads": -1, "filename": "django-cookie-law-nl-0.2.tar.gz", "has_sig": false, "md5_digest": "038e107e7e663588618dc07e522be581", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8218, "upload_time": "2012-12-10T08:42:27", "url": "https://files.pythonhosted.org/packages/83/fb/7fd255b35ec6b03608b91b64edfa6c8b004c785e37b426e868d7d414a667/django-cookie-law-nl-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3f17158d14f081818c9c8e93a8c0ca6d", "sha256": "1eb823c005c77115bec077011a363a0b13837a3478be5fc81fe8c9955ac41f49" }, "downloads": -1, "filename": "django-cookie-law-nl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3f17158d14f081818c9c8e93a8c0ca6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8261, "upload_time": "2012-12-13T12:28:10", "url": "https://files.pythonhosted.org/packages/bb/02/6babf73a5d1f8d25162b9ddc084772e1524c968a1d805d6b5ac59b41042b/django-cookie-law-nl-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f17158d14f081818c9c8e93a8c0ca6d", "sha256": "1eb823c005c77115bec077011a363a0b13837a3478be5fc81fe8c9955ac41f49" }, "downloads": -1, "filename": "django-cookie-law-nl-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3f17158d14f081818c9c8e93a8c0ca6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8261, "upload_time": "2012-12-13T12:28:10", "url": "https://files.pythonhosted.org/packages/bb/02/6babf73a5d1f8d25162b9ddc084772e1524c968a1d805d6b5ac59b41042b/django-cookie-law-nl-0.2.1.tar.gz" } ] }