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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b44619388dab3cceee3369dd3d046209858c129542018697db05579f339fd7ed |
|
MD5 | ea5eba759cb83989a6f9d80ceb85a37d |
|
BLAKE2b-256 | 0f287979c356dadea02bdc4944356b9a76508f8253c848c14d59b5460ac446f9 |
Close
Hashes for django_gdpr_solution-1.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4de0ed3132797bf84298ea840270466bf89ed59b6f79dd616b6e0e9b7581ec |
|
MD5 | b733c26ad92d74f439f04867a8a10a5d |
|
BLAKE2b-256 | f2949e0aa45d58d467fcbfe606ee20d3dc0bc9af618fbd884fa047fe2f5d0b87 |