简体   繁体   English

站点部署到 pythonanywhere 服务器后使用 url 进行调试

[英]Debugging with url after site deployment to pythonanywhere server

The application is designed to upload files to the server with the ability to delete, download and view.该应用程序旨在将文件上传到具有删除、下载和查看功能的服务器。 After deploying the application to pythonanywhere, an error began to occur when I tried to view the contents of the file.将应用程序部署到pythonanywhere后,尝试查看文件内容时开始出现错误。 Although the application and all the functions on my local machine worked fine.虽然我本地机器上的应用程序和所有功能都运行良好。 (If necessary, I can throw off all the code) (如有必要,我可以扔掉所有代码)

Screenshot of error

You are not serving the static files that your app is creating.您没有提供应用程序正在创建的静态文件。 The help pages on PythonAnywhere cover how to set those up. PythonAnywhere 上的帮助页面介绍了如何设置这些页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM