def get(self): deleted_tasks = Task.query(Task.deleted == True).fetch() params = {"deleted_tasks": deleted_tasks} return self.render_template("izbrisana_opravila.html", params=params)
def get(self): all_tasks = Task.query(Task.deleted == False).fetch() params = {"all_tasks": all_tasks} return self.render_template("opravila.html", params=params)