From 482ba5ac5e2fb71a8ae26ae9d5c5c72c33c35b23 Mon Sep 17 00:00:00 2001
From: John 'Warthog9' Hawley
Date: Thu, 24 Jun 2010 09:38:06 -0700
Subject: [PATCH] templates: Add CSRF (cross-site request forgery) values to
form posts
This is a fairly simple patch, basically it does what the error message
told me to do:
"add In the template, there is a {% csrf_token %} template tag inside each POST form that targets an internal URL."
Signed-off-by: John 'Warthog9' Hawley
---
templates/patchwork/bundle.html | 1 +
templates/patchwork/bundles.html | 1 +
templates/patchwork/patch-form.html | 4 ++++
templates/patchwork/patch-list.html | 2 ++
templates/patchwork/patch.html | 5 +++++
templates/patchwork/patchlist.html | 1 +
templates/patchwork/profile.html | 3 +++
templates/patchwork/user-link.html | 1 +
templates/registration/login.html | 1 +
templates/registration/registration_form.html | 1 +
10 files changed, 20 insertions(+)
diff --git a/templates/patchwork/bundle.html b/templates/patchwork/bundle.html
index 616a62e..a2933d5 100644
--- a/templates/patchwork/bundle.html
+++ b/templates/patchwork/bundle.html
@@ -26,6 +26,7 @@ project.