[英]Django-Summernote: Working fine on local machine but server not posting the data
I am using Django-summernote for my project. 我在我的项目中使用Django-summernote。 It works perfectly on local system.
它在本地系统上完美运行。 But on server (Nginx+gunicorn) it is not updating the data.
但是在服务器(Nginx + gunicorn)上,它没有更新数据。 I mean widget loads properly.
我的意思是小部件加载正确。 Image are also uploaded to server, but it throws 404 error upon submission.
图像也已上载到服务器,但是在提交时会引发404错误。 Any solution?
有什么办法吗?
I think this is a common problem that many Django users will have. 我认为这是许多Django用户都会遇到的常见问题。 The issue was with one of the Slugfield.
问题出在Slugfield之一。 Need to specify max length otherwise it will show errors.
需要指定最大长度,否则将显示错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.