diff gpp/templates/bio/edit_profile.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents c0d3b09c9b95
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/bio/edit_profile.html	Sat Apr 03 02:15:04 2010 +0000
+++ b/gpp/templates/bio/edit_profile.html	Sat Apr 03 20:00:56 2010 +0000
@@ -8,7 +8,7 @@
 {% block content %}
 <div class="user_profile">
 <h2>Edit Profile for {{ user.username }}</h2>
-<form action="{% url bio-edit_profile %}" method="post">
+<form action="{% url bio-edit_profile %}" method="post">{% csrf_token %}
 <table>
    <tr>
       <td>