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.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | becda4427eab281e5e176c78326825a95b82ae7884099e6cd4dc271b5df8310f |
|
MD5 | ff5328f0431d4664e0969f241bc5bf2f |
|
BLAKE2b-256 | 75c2590a2ab065641ed721970e231511cd77f33d6e3d3bd47cc6d04c17728938 |
Close
Hashes for django_gdpr_solution-1.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3409a2575f41d30b58f6cbff046d5c86b3d3b62a3d1ba87cbe3a21e6f60acce |
|
MD5 | 51ef6d6fc95190bf9027f081a46e0889 |
|
BLAKE2b-256 | 0b275a102799882a7b464f54bf6345949e3a3d22be05a47690ac38940d8c579d |