开发者

Content of Django flatpages not stored

I have added the flatpages 开发者_JAVA技巧package and tried to add a flatpage in the admin interface. The title and URL are added, but not the content of the page. The content of a flatpage is edited in the YAHOO.widget.Editor. Does anyone know why the content of a flatpage isn't stored and know how I can solve this problem?


Django developer James Bennet added TinyMCE to flatpages in his book Practical Django Projects. His code is available on BitBucket: https://bitbucket.org/ubernostrum/practical-django-projects/src/79e75633cbd4/cms/

I've used his example in a project using flatpages before, and it worked great. Give it a try.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜