简体   繁体   中英

Django-Summernote: Working fine on local machine but server not posting the data

I am using Django-summernote for my project. It works perfectly on local system. But on server (Nginx+gunicorn) it is not updating the data. I mean widget loads properly. Image are also uploaded to server, but it throws 404 error upon submission. Any solution?

I think this is a common problem that many Django users will have. The issue was with one of the Slugfield. Need to specify max length otherwise it will show errors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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