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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_fluo_legal-1.0a0-py3-none-any.whl (25.6 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