Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feincms3_cookiecontrol-0.2.0.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

feincms3_cookiecontrol-0.2.0-py3-none-any.whl (26.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page