view_table and base.html