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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68bba0fd04b2bf4d4ad256296f87c0da8d6ae5a6ae60b939aa587cd23c654651 |
|
MD5 | ff7ba50518f8d3bf97d47d8c848a052b |
|
BLAKE2b-256 | 733d8d33d8c8bce76d6c58dc49dce9e216a12f5169f4b016fd807b02d530f17c |
Close
Hashes for django_gdpr_solution-1.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 523d2e7fc9ba7c25d4245cca2d751aad5e9dafdfb67f9b25563d40a00a87183a |
|
MD5 | cfd4f26eb9aed6c5fc1b7ab44dd97ea7 |
|
BLAKE2b-256 | c8d305f200ba09a8baeb56d22bbc65f67b62cff6da66236e099ec40e3cf50105 |