Skip to main content

Django GDPR solution

CookieConsent integration for Django Web Framework.

PyPI PyPI - Downloads PyPI - License

🚀️ 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)

Source distribution for django-gdpr-solution 1.2.0
File Size Uploaded
django-gdpr-solution-1.2.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-gdpr-solution 1.2.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page