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 py3

Supported by

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