Django specific cookie implementation compliant with Dutch law, use at your own risk.
Project description
This is a Django application that makes it easy to implement cookies compliant with Dutch law, as far as I am able to tell. I’m not a lawyer, so use at your own risk.
———————Requirements:—————————————–
jQuery
———————Usage:————————————————
Add the cookie_law app to your INSTALLED_APPS.
Add ‘url(r’^cookies/’, include(‘apps.cookie_law.urls’)),’ to your main urls.py, without the ‘’.
Run the cookie_law migrations or syncdb if you don’t use South.
Load the cookie_bar template tags and include {% show_cookie_bar %} under the <body> tag in your base template.
Make a cookie bar in the admin.
Surround your cookies with {% if request.COOKIES.allow_cookies == ‘1’ %} <cookie> {% endif %}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-cookie-law-nl-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 150b695ccd75886412e6012b74c7c2f974f54f5960dbbe0851bccae8010541c7 |
|
MD5 | f4d81f06964e9417af9c4303f3e6503b |
|
BLAKE2b-256 | be52e2fdac50a3fa43f486d6741ecefce03a092199284b1776d097f624faee9e |