在Netlify上部署Django网站
我正在尝试上传我使用Django完成的全栈网站,并在Netlify上做出反应。 我已经尝试了各种方法并搜索了不同的教程,但是不幸的是,我发现它们没有用...
许多人建议使用仙人掌启动自己的python的应用程序,但我认为它不能与Django一起使用,有人知道吗如何做或给我一些建议?谢谢
注意:NetLify仅适用于“静态”网站,那么我该如何使我的django应用程序“ static”?
I'm trying to upload my full-stack website, done with Django and React on Netlify.
I have tried various ways and searched for different tutorials, but unfortunately I did not find them useful ...
Many recommend using cactus to launch their own applications consisting of python, but I don't think it can work with Django, does anyone know how to do it or give me some advice? Thanks
note: netlify is only for "static" websites, so how can I make my Django application "static"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Netlify并不是Django天堂中真正的比赛,我认为您应该给您 heroku a Go,它支持开箱即用的Django。
如果您确实想使用NetFlify并准备辞职Django的后端功能(内置数据库,管理面板等在进行静态导出后将无法使用),仙人掌确实可以与Django一起使用。您也可以尝试 django-distill 。
Netlify is not really the match made in heaven for Django, I think you should give Heroku a go, which supports Django out-of-the-box.
If you do want to use Netflify and are ready to resign from the Django's backend features (built-in database, admin panel etc are not going to work after you make a static export), Cactus does work with Django. You could also try django-distill.