def get_table_view(table_name): return dao.select_all(table_name)
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context.update({"result" :dao.select_all("persons")}) return context