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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a4e980d185374f7efacb6a1e6730f946a6501f2f1e28a666440e9e54c3c8be |
|
MD5 | 3ddd368f4d5af1773d45840e70ee3107 |
|
BLAKE2b-256 | 8e947e6388ea609503c4d8c236d37d1e0f804deaabefa1c2f569d32ce4554f0a |
Close
Hashes for django_gdpr_solution-1.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f741cb949af4af5f593733b4b11616a3319968a89bd5da97572ae7e9fe85307c |
|
MD5 | eae85c9fd135a03adc5839566f8ee231 |
|
BLAKE2b-256 | 00d763412a0ed283ca381d26b3d2692aedfc9174a4ed3e3ba33e3273564236b1 |