def project_list(): buckets = bc.todolists_by_project bkt_lens = get_lens(buckets) return render_template('project_task_list.html',buckets=buckets,bc=bc)
def tasklists(): # showing all lists / by bucket lists = bc.current_todos buckets = get_current_todo_lists(bc) bkt_lens = get_lens(buckets) return render_template('task_lists.html',buckets=buckets,bc=bc,bl=bkt_lens)