- def do_GET_calendar(self):
- """Show sorted Days."""
- conn = DatabaseConnection(self.server.db)
- Day.add(conn, '2024-01-03')
- Day.add(conn, '2024-01-01')
- Day.add(conn, '2024-01-02')
- days = Day.all(conn)
- conn.commit()
- conn.close()
- days.sort()