Source

django_cookie_law_nl / cookie_law / README

Full commit
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.
- Edit the _base_include.html template so it has the appropriate text and link to your cookie policy page.
- Include the _base_include.html template at the spot you want the popup.
- Surround your cookies with {% if request.COOKIES.allow_cookies == '1' %} <cookie> {% endif %}