A reuseable Django application for EU cookielaw and T&C/TOS handling.
Project description
# django-fluo-legal #
A Django application to handle european/italian cookie law and versioned T&C.
## install ##
Just include `legal.apps.LegalConfig` into your `INSTALLED_APPS`
```
#!python
INSTALLED_APPS += [ "legal.apps.LegalConfig" ]
```
## templatetag ##
Show an overlay box to inform about privacy/cookies.
Load the templatetag in your base template
```
#!html
{% load legal_tags %}
...
{% cookielaw %}
</body>
</html>
```
You can customize the box overriding `templates/legal/cookielaw.css`
and/or `templates/legal/cookielaw.html` or using the templatetag
parameters:
* `banner`: [default=`legal/cookielaw.html`]
* `name`: [default=`legal_cookielaw_accepted`]
* `id`: [default=`CookieLawBanner`]
* `js`: [default=`legal/cookielaw.js`]
* `css`: [default=`legal/cookielaw.css`]
A Django application to handle european/italian cookie law and versioned T&C.
## install ##
Just include `legal.apps.LegalConfig` into your `INSTALLED_APPS`
```
#!python
INSTALLED_APPS += [ "legal.apps.LegalConfig" ]
```
## templatetag ##
Show an overlay box to inform about privacy/cookies.
Load the templatetag in your base template
```
#!html
{% load legal_tags %}
...
{% cookielaw %}
</body>
</html>
```
You can customize the box overriding `templates/legal/cookielaw.css`
and/or `templates/legal/cookielaw.html` or using the templatetag
parameters:
* `banner`: [default=`legal/cookielaw.html`]
* `name`: [default=`legal_cookielaw_accepted`]
* `id`: [default=`CookieLawBanner`]
* `js`: [default=`legal/cookielaw.js`]
* `css`: [default=`legal/cookielaw.css`]
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file django_fluo_legal-1.0a0-py3-none-any.whl
.
File metadata
- Download URL: django_fluo_legal-1.0a0-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a8c220ad61835a75cf5803606ec4ca5c9f24f6ce6117f59d2314937f7aa20b |
|
MD5 | 493ff40503c253cf96e9250e6b1b6505 |
|
BLAKE2b-256 | 16d37e270a6917b6a5d7fc778e31ec8138688d97baa0fa7178393a4fde3e6000 |