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.24.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979de923b1262eae1ba20d8ec010e7e2efdd41d8fe32e39ef7318f612dd682d3 |
|
MD5 | 976f7c38d3b5c3ce9751db12cb455ef0 |
|
BLAKE2b-256 | ac466fa48cf0a385aae4a93aa3aa98768c480f488f565e779526f6683e1619a7 |
Close
Hashes for django_gdpr_solution-1.0.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f2628641419717c134977bfcdfeb71875bc63689d7b7b1a457216a377e1c8e5 |
|
MD5 | bc427e4455123b4b712043b47408d1c4 |
|
BLAKE2b-256 | 046027387cc53b79148a574e0c70f0abbb00bfd61cd421635b848fcfa706da36 |