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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02428d46f3374d46437920ac6033211b59bb06c7d037d6b8452249084634eaf |
|
MD5 | 914009622b60083e6f999f93edde8cd0 |
|
BLAKE2b-256 | 3c4fda0de94abe8770525756bb77cacfc303abf6fb16a439507595f00c42274a |
Close
Hashes for django_gdpr_solution-1.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496435e736a9a17c0252a55df283485837340f4262762beafc129b180c5bbd41 |
|
MD5 | 48364adbe6cc62530c1f47d73dfd64b2 |
|
BLAKE2b-256 | 11049117aa3d5d892ceeb2d124d05fd6b00bf8a224488266c70a7d5a0a85b542 |