开发者

Admin template for flatpages

I need to plug in reach text editor to admin page of 开发者_StackOverflow社区flatpages. And I don't know, what the template are used to falatpages administration?


Update: One way is to use the django-tinymce app which supports the TinyMCE rich text editor. There's also an example of using the widget with a flatpage form.

Old: The default template should reside at "flatpages/default.html" but you can customize this through the admin interface. See the Flatpage templates section in the django docs for more information.


In addition to answer to my question. For admin panel of flatpage used default chenge_form.html. But if you customized it for your app, it wouldn't be work for flatpages without explicit destination.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜