问题: django.urls.exceptions.NoReverseMatch: Reverse for ‘project_star’ with keyword arguments ‘{‘project_type’: ‘my’, ‘project_id’: ‘’}’ not found. 解决办法: 在你的xxx.html代码中找找,应该时变量的赋值写错了,下面就是本人的错误问题: 修改前: 修改后: 希望可以帮助到各位!