RESTful calendar in Flask