今天的Django教训汇总:数据反向查询触发错误Field ‘score_jieshoufankui‘ expected a number but got ‘‘-20211109
数据库反向查询想运用request.GET.get(‘score_jieshoufankui2’,100)来规避取不到值时的报错。views.py#建立数据反向查询的结果界面@login_requireddefdata_search_results(request):#查询出user最大的query_setuser_permission_query=user_permission(request)