Browse Source

add csrf_token to the registration form

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
738581e4ba
  1. 2
      pyweb/templates/registration/registration_form.html

2
pyweb/templates/registration/registration_form.html

@ -7,7 +7,7 @@
<h2>Create Account</h2> <h2>Create Account</h2>
<p>Please fill in the following form.</p> <p>Please fill in the following form.</p>
<form method="post" action=".">
<form method="post" action=".">{% csrf_token %}
<table> <table>
{{ form }} {{ form }}
</table> </table>

Loading…
Cancel
Save