pythondjangowysiwygdjango-flatpages

Content of Django flatpages not stored


I have added the flatpages 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?


Solution

  • 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.