Mercurial > public > sg101
diff gpp/templates/gcalendar/google_sync.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 | 9fb8e804652b |
children | 9a4bffdf37c3 |
line wrap: on
line diff
--- a/gpp/templates/gcalendar/google_sync.html Sat Apr 03 02:15:04 2010 +0000 +++ b/gpp/templates/gcalendar/google_sync.html Sat Apr 03 20:00:56 2010 +0000 @@ -25,7 +25,7 @@ {% endif %} {% endfor %} </ol> -<form action="." method="POST"> +<form action="." method="POST">{% csrf_token %} {{ form.as_p }} <p><input type="submit" name="submit" value="Submit" /></p> </form>