settings.PUBLIC_SITE, login required if public for logbook entry, CRCF middleware

This commit is contained in:
Martin Green
2011-05-02 02:12:26 +01:00
parent d49271ddcf
commit f178fff0b9
6 changed files with 12 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
<form method="post" action=".">
<form method="post" action=".">{% csrf_token %}
<table>
<tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
<tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>