home · contact · privacy
Use different exceptions throwing different HTTP codes for different cases.
[plomtask] / templates / calendar.html
1 {% extends 'base.html' %}
2
3 {% block content %}
4 <form action="calendar" method="GET">
5 from <input name="start" value="{{start}}" />
6 to <input name="end" value="{{end}}" />
7 <input type="submit" value="OK" />
8 </form>
9 <ul>
10 {% for day in days %}
11 <li><a href="day?date={{day.date}}">{{day.date}}</a> ({{day.weekday}}) {{day.comment|e}}
12 {% endfor %}
13 </ul>
14 {% endblock %}