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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ff5e28522f45d07be13188cd86404cec26efa73274fa5fa809963ed70c4661 |
|
MD5 | 7dcd9966710f0d82600c5f0717119f26 |
|
BLAKE2b-256 | 678a5835072053ad4a048494acdd5218bc8de7862839669dd7d4abadc9764cf1 |
Close
Hashes for django_gdpr_solution-1.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 856376c8e61d239b99ed84a9b22de56c5f37d491e8f7a64a3a182821ddc7fbad |
|
MD5 | 9b56f5a144f46b19361f3bc51593b1b0 |
|
BLAKE2b-256 | 8a2912dc401c0b4b55c348ec73e04f7c74417ab1a928358343cc0511b6ace5bf |