Add GDPR compliant cookie consent to your website.
Project description
Django GDPR solution
CookieConsent integration for Django Web Framework.
🚀️ Quick start
Install the package
pip install django-gdpr-solution
Add gdpr_solution
on INSTALLED_APPS
INSTALLED_APPS = [
...
'gdpr_solution',
...
]
Include the urls
urlpatterns = [
...
path('django-gdpr-solution/', include('gdpr_solution.urls')),
...
]
--> [OPTIONAL] Remember that you can change the name path of the url
Complete the installation with migrations
python manage.py makemigrations
python manage.py migrate
Last step: load gdpr_solution and add templatetag on top of head tag on template
{% load gdpr_solution %}
<head>
...
{% gdpr_cookie_banner %}
...
</head>
📖 Dependencies
CookieConsentJs repository (orestbida/cookieconsent) for gdpr compliant cookie consent. For customize the cookie banner and all its functionality, go to the official repo.
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
django-gdpr-solution-1.2.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for django-gdpr-solution-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ecc5d3100cbb411205a74338b82d590ff93887926a36867f1e46990d339fda1 |
|
MD5 | c1e9aceddc1288cf17fff3e6f39750dc |
|
BLAKE2b-256 | 4026765191cfc993e11a195c926309bd30343a8ecd7bd40cbe623aef3dd4f570 |
Close
Hashes for django_gdpr_solution-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db6ee71eb13207caacdff2340f8d7f96ff3ebabd71f98aacdea80e3759e324f |
|
MD5 | 0cc1b2b1e0ff7fc9cde157298f049ddc |
|
BLAKE2b-256 | fdb4f697e011806fa9bb2ec0f26fa7e7c475af2a68d9590054f95c4bd1ebe862 |