1👍
You’re returning record_list
but assigning it to mapindex_list
. Either iterate through mapindex_list
in the template or change the name in the render function to match:
return render(request, self.template_name, {
'title': 'Map Index Update Form',
'record_list': record_list,
'form_mapindex': form_mapindex
})
Source:stackexchange.com