context = {
'form': form,
'adv_form': adv_form,
'shown': shown,
'models': models_filter,
'types': types_filter,
'devices': dev_dict,
'username': request.user.username,
'request': dict(request.GET.iterlists()),
'page': page_results,
'paginator': paginator,
'page_range': page_range,
'query': query,
'status':status,
'suggestion': None,
'myartifacts': myartifacts,
}
I am getting that crash, once I moved my application from python 2.7 to python 3.6. ('request': dict(request.GET.iterlists())) Can anyone help me with solution?
iterlists() was undocumented function for QueryDict build on Py2. Use dict(request.GET.lists()) instead.
Read short description here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With