Django GDPR solution
CookieConsent integration for Django Web Framework.
🚀️ Quick start
Install the package
pip install django-gdpr-solution
Add gdpr_solution on INSTALLED_APPS
INSTALLED_APPS = [
...
'gdpr_solution',
...
]
Include the urls
urlpatterns = [
...
path('django-gdpr-solution/', include('gdpr_solution.urls')),
...
]
--> [OPTIONAL] Remember that you can change the name path of the url
Complete the installation with migrations
python manage.py makemigrations
python manage.py migrate
Last step: load gdpr_solution and add templatetag on top of head tag on template
{% load gdpr_solution %}
<head>
...
{% gdpr_cookie_banner %}
...
</head>
📖 Dependencies
CookieConsentJs repository (orestbida/cookieconsent) for gdpr compliant cookie consent. For customize the cookie banner and all its functionality, go to the official repo.
Metadata
Release files for django-gdpr-solution 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-gdpr-solution-1.2.0.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_gdpr_solution-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / django-gdpr-solution-1.2.0.tar.gz
| Download URL | django-gdpr-solution-1.2.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ecc5d3100cbb411205a74338b82d590ff93887926a36867f1e46990d339fda1
|
|
BLAKE2b-256 checksum How to use checksums |
4026765191cfc993e11a195c926309bd30343a8ecd7bd40cbe623aef3dd4f570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.13
|
Release files / django_gdpr_solution-1.2.0-py3-none-any.whl
| Download URL | django_gdpr_solution-1.2.0-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6db6ee71eb13207caacdff2340f8d7f96ff3ebabd71f98aacdea80e3759e324f
|
|
BLAKE2b-256 checksum How to use checksums |
fdb4f697e011806fa9bb2ec0f26fa7e7c475af2a68d9590054f95c4bd1ebe862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.13
|