Cookie Control Panel for GDPR compliant feincms3 websites
Project description
feincms3 Cookie Control Panel
Integration
- Install
venv/bin/pip install feincms3-cookiecontrol
- Add
"feincms3_cookiecontrol"
to settings.py - Define
MIGRATION_MODULES = {"feincms3_cookiecontrol": "..."}
and run./manage.py makemigrations feincms3_cookiecontrol
. - Configure cookie scripts, cookie categories and app settings to override default panel configurations
- Include template tag:
<!-- e.g. base.html -->
{% load feincms3_cookiecontrol %}
<body>
... {% feincms3_cookiecontrol %} ...
</body>
- Override CSS variables in a
#f3cc { ... }
block. - Run
./manage.py loaddata f3cc-categories --ignorenonexistent
to create an essential and an analytics cookie category, if this suits you. - Optionally add a
COOKIECONTROL = {...}
setting if you want to override individual settings. - Optionally include
{% feincms3_cookiecontrol modify_button=False %}
on pages where you do not want to show the modify button if some cookies have already been accepted.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for feincms3_cookiecontrol-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe7952c15a88ef9744390f8a63d31bfea3d3ffe88399825daa5400620e66e8c |
|
MD5 | 58349be548c2826e19fb43b2ade66164 |
|
BLAKE2b-256 | ff48163401183fb16f857643f6a939882610578a4ddc393fb6b7d7426502e11a |
Close
Hashes for feincms3_cookiecontrol-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f356d2538e6375990691ecea885ff7bf49f7df031b3cd53c8f91acb7bca35614 |
|
MD5 | 8e525efb9ad75234f4aee2aedb78e355 |
|
BLAKE2b-256 | 6986826b4dc1b0fc27847b31f8b68b0de9f302c42ba53688a38bdd366f7fc80d |