TyMaszWeb / django-cookie-law

Helps your Django project comply with the EU cookie regulations by displaying a cookie information banner until it is dismissed by the user
BSD 2-Clause "Simplified" License
140 stars 69 forks source link

where to copy cookielaw.js #67

Closed sarafv closed 2 years ago

sarafv commented 3 years ago

Hi, I don't understand what means "the markup" in the README.rst file, ie :

  1. Add cookielaw/js/cookielaw.js to the markup or To change the markup, just add a template named cookielaw/banner.html

I'm using Django 2.2.9, my django app is called AtlasYEB, my project launchyeb and the templates are in templates/application

thanks! Sara

piotrkilczuk commented 3 years ago

Hi Sara,

Your markup is your HTML. You need to add that javascript there so it gets loaded.