django开发中遇到的问题以及解决方法: 1.You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. 这个是因为访问的url没有以/结尾,举例: 将 http://127.0.0.1:8000/add_device 改为: http://127.0.0.1:8000/add_device/即可 2.TemplateDoesNotExist rest_frame…