1👍
The problem is that you use Python Version: 2.7.9
and author of your artical use Python 3.7.3
You can try use this for fix
return super(admin.ModelAdmin, self).changelist_view(request, extra_context=extra_context)
But i gues this is not the only place where you’ll get errors
Source:stackexchange.com