django-check-cookie-consent

Django Cookie Consent with django-allauth and cookiechoises.js

####

Link to Git-Hub Source File

GDPR law is an important subject to respect. I have to be sure the visitor accepted the cookie before the Sign Up and the Log In. I’m using the cookiechoices.js library. It is the google help for this subject. I’m adding 3 django functions in the pages app, to finish the js library job.

My Site Managepy.it

Getting started

Setup

Follow these instructions to try this demo out locally. I’m using pipenv.


# Install requirements.txt in a new virtual environment
pipenv install -r requirements.txt
# activate the shell
pipenv shell

# Clone Git folders yourself

# Setup database.
./manage.py migrate

# Run the development server.
./manage.py runserver

# Now you can view the project at http://localhost:8000