Add GDPR compliant cookie consent to your website.
Project description
django-gdpr-solution
📖 Dependencies
CookieConsentJs repository (orestbida/cookieconsent) for gdpr compliant cookie consent. For customize the cookie banner and all its functionality, go to the official repo.
🚀️ Installation
- Install app with pip
$ pip install django-gdpr-solution
- Add app on INSTALLED APPS
INSTALLED_APPS = [
...
'gdpr_solution',
...
]
- Include urls of app
urlpatterns = [
...
path('django-gdpr-solution/', include('gdpr_solution.urls')),
...
]
--> [OPTIONAL] You can change the name path of the url
- Complete the installation with migrations
$ ./manage.py makemigrations
$ ./manage.py migrate
- Last step is to load gdpr_solution and add templatetag on top of head tag on template
{% load gdpr_solution %}
<head>
{% gdpr_cookie_banner %}
...
...
</head>
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 Distribution
Built Distribution
Close
Hashes for django-gdpr-solution-1.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d706993a165555207211b79f86878357bc632f6c1729cbe1479d4eafed99888c |
|
MD5 | 5b4adec13fef5a3621bfd737bce255ab |
|
BLAKE2b-256 | 58ccab393287dd53946976ec183e0ed123a0d0ce4cc1c71d3f60206c83103eda |
Close
Hashes for django_gdpr_solution-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c3c01b68093259c3048358d3ee36c28ae5f6d79d7897b6c0266923df9d52cb |
|
MD5 | bcd5c82d407bc276e18b2a5025d9f04c |
|
BLAKE2b-256 | 0b9f469c4adac387fde4d0f5ce5503c4e27c40c39a9a072993d35f53b58c4891 |