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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1afabfe77aa544c14fc5e52bff2f97afe607ca6df93229dba2ce776859f93ec2 |
|
MD5 | 1e46b62d26a0d4b97a128e72aa26b61d |
|
BLAKE2b-256 | 76bf2d2a1a2119efef7d38489ff1c5b41835377a249f055c21fd026de80533af |
Close
Hashes for django_gdpr_solution-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd1397152c1e4e2d4d8e62ef9b7411d2d88378415cd3b098fd1a73137372c4ca |
|
MD5 | 6c5d55563d0c8a61623e57a604ae315c |
|
BLAKE2b-256 | 8984ab95db9c7a264254682acadcdd9b4a57f2bca23cd031b06257f54e7d0e14 |