module>UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 2-module>UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 2-8: illegal Unicode character
使用Pyt
我正在尝试通过Django rest框架创建一个应用程序接口,并使用NextJS作为前端。
我可以毫无错误地获取所有的post数据。但是,当我尝试获取一个帖子的数据时,它给出了一个错误提示:"Page not found (404) The current path,api/ post /1,not match it The currentpath,api/posts/1,not match of any one“。下面是我的api文件夹