Skip to content

Commit 2d710e8

Browse files
authored
Merge pull request #44 from andreagrandi/add-cookie-section-privacy-policy
Add cookies section to privacy policy
2 parents 65d731f + 74c53ed commit 2d710e8

2 files changed

Lines changed: 78 additions & 4 deletions

File tree

templates/privacy.html

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% block content %}
77
<section class="rounded-box bg-base-100 px-6 py-10 shadow-sm lg:px-12">
88
<h1 class="text-4xl font-bold">Privacy Policy</h1>
9-
<p class="mt-2 text-base-content/60">Last updated: 26th February 2026</p>
9+
<p class="mt-2 text-base-content/60">Last updated: 3rd April 2026</p>
1010

1111
<div class="mt-8 max-w-3xl space-y-8 text-base-content/80">
1212
<p>
@@ -186,7 +186,44 @@ <h2 class="text-xl font-semibold text-base-content">9. Security measures</h2>
186186
</div>
187187

188188
<div>
189-
<h2 class="text-xl font-semibold text-base-content">10. Changes to this policy</h2>
189+
<h2 class="text-xl font-semibold text-base-content">10. Cookies</h2>
190+
<div class="mt-3 space-y-4">
191+
<p>
192+
Book Corners uses a small number of cookies that are strictly necessary for the website
193+
to function. No tracking, analytics or advertising cookies are used.
194+
</p>
195+
196+
<div>
197+
<h3 class="font-semibold text-base-content">Cookies we set</h3>
198+
<ul class="mt-1 list-inside list-disc space-y-1">
199+
<li>
200+
<strong>Session cookie</strong> (<code>sessionid</code>) — keeps you logged in while
201+
you use the site. Expires after 2 weeks or when you log out.
202+
</li>
203+
<li>
204+
<strong>CSRF cookie</strong> (<code>csrftoken</code>) — protects form submissions
205+
against cross-site request forgery. Expires after 1 year.
206+
</li>
207+
<li>
208+
<strong>Language cookie</strong> (<code>django_language</code>) — remembers your
209+
preferred language. Expires at the end of the browser session.
210+
</li>
211+
</ul>
212+
</div>
213+
214+
<div>
215+
<h3 class="font-semibold text-base-content">Why no consent banner is shown</h3>
216+
<p class="mt-1">
217+
Under the ePrivacy Directive (Article 5(3)) and Italian data protection guidelines,
218+
cookies that are strictly necessary for providing the service do not require user consent.
219+
All cookies listed above fall within this exemption.
220+
</p>
221+
</div>
222+
</div>
223+
</div>
224+
225+
<div>
226+
<h2 class="text-xl font-semibold text-base-content">11. Changes to this policy</h2>
190227
<div class="mt-3 space-y-2">
191228
<p>
192229
This Privacy Policy may be updated from time to time. Any changes will be published

templates/privacy_it.html

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% block content %}
88
<section class="rounded-box bg-base-100 px-6 py-10 shadow-sm lg:px-12">
99
<h1 class="text-4xl font-bold">Informativa sulla Privacy</h1>
10-
<p class="mt-2 text-base-content/60">Ultimo aggiornamento: 26 febbraio 2026</p>
10+
<p class="mt-2 text-base-content/60">Ultimo aggiornamento: 3 aprile 2026</p>
1111

1212
<div class="mt-8 max-w-3xl space-y-8 text-base-content/80">
1313
<p>
@@ -186,7 +186,44 @@ <h2 class="text-xl font-semibold text-base-content">9. Misure di sicurezza</h2>
186186
</div>
187187

188188
<div>
189-
<h2 class="text-xl font-semibold text-base-content">10. Modifiche a questa informativa</h2>
189+
<h2 class="text-xl font-semibold text-base-content">10. Cookie</h2>
190+
<div class="mt-3 space-y-4">
191+
<p>
192+
Book Corners utilizza un numero limitato di cookie strettamente necessari al funzionamento
193+
del sito. Non vengono utilizzati cookie di tracciamento, analisi o pubblicità.
194+
</p>
195+
196+
<div>
197+
<h3 class="font-semibold text-base-content">Cookie che utilizziamo</h3>
198+
<ul class="mt-1 list-inside list-disc space-y-1">
199+
<li>
200+
<strong>Cookie di sessione</strong> (<code>sessionid</code>) — mantiene l'accesso
201+
durante l'utilizzo del sito. Scade dopo 2 settimane o al logout.
202+
</li>
203+
<li>
204+
<strong>Cookie CSRF</strong> (<code>csrftoken</code>) — protegge l'invio dei moduli
205+
da attacchi cross-site request forgery. Scade dopo 1 anno.
206+
</li>
207+
<li>
208+
<strong>Cookie della lingua</strong> (<code>django_language</code>) — ricorda la
209+
lingua preferita. Scade alla chiusura del browser.
210+
</li>
211+
</ul>
212+
</div>
213+
214+
<div>
215+
<h3 class="font-semibold text-base-content">Perché non viene mostrato un banner per il consenso</h3>
216+
<p class="mt-1">
217+
Ai sensi della Direttiva ePrivacy (Articolo 5(3)) e delle linee guida italiane in materia
218+
di protezione dei dati, i cookie strettamente necessari alla fornitura del servizio non
219+
richiedono il consenso dell'utente. Tutti i cookie sopra elencati rientrano in questa esenzione.
220+
</p>
221+
</div>
222+
</div>
223+
</div>
224+
225+
<div>
226+
<h2 class="text-xl font-semibold text-base-content">11. Modifiche a questa informativa</h2>
190227
<div class="mt-3 space-y-2">
191228
<p>
192229
La presente Informativa sulla Privacy può essere aggiornata periodicamente. Qualsiasi modifica

0 commit comments

Comments
 (0)