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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a714054e5a07d6c1881d599794be293bdc6dbcaf8e63cc96d92d2e259e20da51 |
|
MD5 | 1bdf15dbdc781e57564ebb2f077dcdcf |
|
BLAKE2b-256 | 9c4df1521c6abad69112cb7333904594797057530fee7e35b1b99648800432fb |
Close
Hashes for django_gdpr_solution-1.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c6bef49ee9258a1caf0706c8bce6f18671d6ee4d66905e8e87b8656ce60226 |
|
MD5 | 6fdfd8f5695b7f4234fb46b9c9d1ba49 |
|
BLAKE2b-256 | c9176226caf9fd718d2076e5784c69a4498cbf5d7065993a0c7e017616dc37ea |