Metadata-Version: 2.1
Name: feincms3-cookiecontrol
Version: 0.2.0
Summary: Cookie Control Panel for GDPR compliant feincms3 websites
Home-page: https://github.com/feinheit/feincms3-cookiecontrol/
Author: York Schickl
Author-email: ys@feinheit.ch
License: BSD-3-License
Platform: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: tests
License-File: LICENSE

# 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:

```html
<!-- 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.


