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.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bdf31b963dd20330a8d519a006cf57afbb13bc3918dd23847aa09db6f1a4d43 |
|
MD5 | b76c2154afc1b79389675e87a2189ca5 |
|
BLAKE2b-256 | 2dd99fc1eb2a934c1a26eeeadd2517130f021efa14ce9b5fe4800656a990ba4a |
Close
Hashes for django_gdpr_solution-1.0.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603d97ab42ba1fd5a653144db1cb3f30bbe1c55c9a52a7ea55590d19acf28294 |
|
MD5 | 8b60830ea320605a7ae127260458637b |
|
BLAKE2b-256 | 68bae1c61c79b39ca978285a48fd3e9cc21e9f2ea14636ba28cac4f6c9a78ff3 |