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 hide_modify_button=True %}
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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 883c143d60427f6a268e03c3c2fc1fa6317d94698322ae02bb048f665f1dcb7a |
|
MD5 | cb24ebaaeb8890bb20914c6574de0e00 |
|
BLAKE2b-256 | e48ef708cf36bcbf1213494ba82c5812e7ff5367d7c6639cebe6a6babac49277 |
Close
Hashes for feincms3_cookiecontrol-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc0dc0c5d0080f202f0c100e0db9176d2e242f91ca38bbdaeadc1d6a777a8f0 |
|
MD5 | 02894103055407c148e62ec340e9def6 |
|
BLAKE2b-256 | 49fcf57f68a47b290886f02b9f33fc89ffe6af5077d96630244e7ffd151490aa |