Skip to main content

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`]


Project details


Download files

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

Files for django-fluo-legal, version 1.0a0
Filename, size File type Python version Upload date Hashes
Filename, size django_fluo_legal-1.0a0-py3-none-any.whl (25.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page