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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8db5daa4a9a29d94b0202463d6dc40c48dc49a2dd8ae0534e1082a638b0cfc3 |
|
MD5 | 649e558e2c6e6d37aafeb86ba47b78a7 |
|
BLAKE2b-256 | 266cbce77bafc8e74413648236dd6feb9f421f2359a24189d077705937543d5f |
Close
Hashes for django_gdpr_solution-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 690a5ad1a291d89666cb55a3313f8456dd83b738b7cefa30210786896b2551c9 |
|
MD5 | 1fa6373c6e294e4474171e01d5fe7f91 |
|
BLAKE2b-256 | 35d8922535abb695d160295aacd9c401f43d18f6b94f32bb430adee3a547bcd2 |