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

If you're not sure about the file name format, learn more about wheel file names.

django_fluo_legal-1.0a0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

Supported by

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