leonardo-cookie-law 0.0.2
Helps your Leonardo project comply with EU cookie law regulations
pip install leonardo-cookie-law
Leonardo Cookie Law
leonardo-cookie-law integrates django-cookie-law helps to your Leonardo project comply with the EU cookie regulations. by displaying a cookie information banner until it is dismissed by the user.
Installation
pip install leonardo_cookie_law
or as leonardo bundle
pip install django-leonardo["cookielaw"]
Collect assets
python manage.py collectstatic --noinput
Configuration
If you want to use our default template, add cookielaw/css/cookielaw.css to the markup and you should see the cookie law banner at the top of the page until you dismiss it with the button in the top-right. This CSS is Twitter Bootstrap compatible, but chances are, you’ll like to adjust it anyway.
To change the markup, just add a template named cookielaw/banner.html and make sure it is loaded before the default template (for example put the django.template.loaders.filesystem.Loader before django.template.loaders.app_directories.Loader and add your new template to any of the TEMPLATE_DIRS).
To change the CSS, just write your own rules and don’t include the default stylesheet.
Read More
Project links
Key dates
PyPI data
- Released:
1 maintainer
PyPI data
Credits
Author: Michael Kuty
License
BSD License (UNKNOWN)
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Metadata
Project links
Key dates
PyPI data
- Released:
1 maintainer
PyPI data
Credits
Author: Michael Kuty
License
BSD License (UNKNOWN)
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release files for leonardo-cookie-law 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leonardo-cookie-law-0.0.2.tar.gz | 4.2 kB | Details |
Release files / leonardo-cookie-law-0.0.2.tar.gz
| Download URL | leonardo-cookie-law-0.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2dc06f444b0e3da643435acf5259eeb0c3b0892c83bbab836e5829156232e70c
|
|
BLAKE2b-256 checksum How to use checksums |
dd97dbd010f3e39e1a73f4d8f1d5e57574d9952ea9e3ecd147281aaac0e20c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |