def home(): """ Home of a user, shows active checklists and templates. """ templates = ChecklistTemplate.objects(owner=g.user.name) checklists = Checklist.objects(owner=g.user.name) return render_template('home.html', templates=templates, checklists=checklists)