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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ad82ed4ffe3b435fa3ca3f1d75454ce68239b71fd127f92d8842a670af8f1c |
|
MD5 | 814d2bc618f0f000f83ed9dd333c062d |
|
BLAKE2b-256 | 4a9f5ee86b679f8ee5990a6a7b6885e67639241fc3582a3ebadaaf8543b0bfde |
Close
Hashes for django_gdpr_solution-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e8e12b6b8ad6b961fba67b346cd2c7cb7f076d2d705ebaec0f2cc5943bb60c |
|
MD5 | 04b926cb11cb2f8535cd44de00a40353 |
|
BLAKE2b-256 | 49dae580f95be1887e73ee3f3916978dc109dda22b380463c1f74d3037af3088 |