home · contact · privacy
For POST /day, do not default to a valid date if none provided.
[plomtask] / templates / day.html
1 {% extends 'base.html' %}
2
3 {% block content %}
4 <h3>{{day.date}} / {{day.weekday}}</h3>
5 <form action="day?date={{day.date}}" method="POST">
6 comment: <input name="comment" value="{{day.comment|e}}" />
7 <input type="submit" value="OK" />
8 </form>
9 {% endblock %}
10