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
django-gdpr-solution-1.1.0.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for django-gdpr-solution-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f0d39ea84585a52aea6a647f0bf05812f4a1178770619481c9d11769c45d38 |
|
MD5 | 6eddd5a420338abd34c2f4019be04314 |
|
BLAKE2b-256 | 87e9a2e52e6c1d395cfa10221a925e74de9a2683a546b007d88775435e1b586c |
Close
Hashes for django_gdpr_solution-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b6bac6c02f1912c9268d9ca124da4e1041d9b3d9682915ed27bfdac0e028eb |
|
MD5 | 45c0d8cdd60e332f8a742d6e97094b14 |
|
BLAKE2b-256 | 4b02502f9cd247032c91d69b737889edd5ebc925fa47f089cdbf44aad4180119 |