{ "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' %}