在使用Django创建一个小demo的时候,在admin链接下面出现以下错误:
TypeError at /admin/
‘set’ object is not reversible
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 3.2
Exception Type: TypeError
方法:
将应用中的路由中的“{}”改成“[]”
参考链接:https://stackoverflow.com/questions/43304923/typeerror-at-admin-set-object-is-not-reversible-and-argument-to-reverse-m
Django中的一点小问题
最新推荐文章于 2024-05-23 09:53:57 发布