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.23.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 676bd7225ae7cff6ad39274771211ca7f39cfcb64f1a8fd7fc20838968610d8a |
|
MD5 | 570b3147324341835306b1251167489d |
|
BLAKE2b-256 | 60ae9e1310cb1924bdb0c79d3e4d15ee4557f8bf96a6f380604562c848a8bed3 |
Close
Hashes for django_gdpr_solution-1.0.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 251d31d59b5987296ea998d09c08f6d84efe1de1afdbab979e45556f09ae03e7 |
|
MD5 | 589a5b1e09f9adf6215b1f0be898ce1b |
|
BLAKE2b-256 | 56d3fee8129b1bf548b4b69d9d01dcc00123c94f49843e978e7cd0ab0f3aa234 |