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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b840e68f92f368c5e88e55de924df7bd4fc784f767968a68d004dec6c1622a |
|
MD5 | a39ec4e9670cf7383163d75905d54f63 |
|
BLAKE2b-256 | be102f8c89f668495a8c7d1d5d3ce0934e346c75a4d27cd1db577844b17cf7ab |
Close
Hashes for django_gdpr_solution-1.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8356e04565b79382aa7530445f7607ea9e9caf531c6d783d77fe6f509b168f41 |
|
MD5 | 587ed838b808a01db20b6216ae2bba2f |
|
BLAKE2b-256 | bb48ed02846b20923d37db27b84794566d0cdf9be78101f8b4b1fd11193c07da |