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.
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
File details
Details for the file feincms3_cookiecontrol-0.1.6.tar.gz
.
File metadata
Download URL:
feincms3_cookiecontrol-0.1.6.tar.gz
Upload date:
Mar 1, 2022
Size: 17.8 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Hashes for feincms3_cookiecontrol-0.1.6.tar.gz
Algorithm
Hash digest
SHA256
3fe7952c15a88ef9744390f8a63d31bfea3d3ffe88399825daa5400620e66e8c
Copy
MD5
58349be548c2826e19fb43b2ade66164
Copy
BLAKE2b-256
ff48163401183fb16f857643f6a939882610578a4ddc393fb6b7d7426502e11a
Copy
See more details on using hashes here.
File details
Details for the file feincms3_cookiecontrol-0.1.6-py3-none-any.whl
.
File metadata
Download URL:
feincms3_cookiecontrol-0.1.6-py3-none-any.whl
Upload date:
Mar 1, 2022
Size: 26.9 kB
Tags: Python 3
Uploaded using Trusted Publishing? No
Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Hashes for feincms3_cookiecontrol-0.1.6-py3-none-any.whl
Algorithm
Hash digest
SHA256
f356d2538e6375990691ecea885ff7bf49f7df031b3cd53c8f91acb7bca35614
Copy
MD5
8e525efb9ad75234f4aee2aedb78e355
Copy
BLAKE2b-256
6986826b4dc1b0fc27847b31f8b68b0de9f302c42ba53688a38bdd366f7fc80d
Copy
See more details on using hashes here.