comparison frontends/src/jp/cmd_blog.py @ 1871:64a40adccba4

jp (blog/edit): removed content_rich from KEY_TO_REMOVE_METADATA as it is never given by backend
author Goffi <goffi@goffi.org>
date Wed, 02 Mar 2016 19:53:53 +0100
parents c25077c87b1d
children df1ca137b0cb
comparison
equal deleted inserted replaced
1870:c25077c87b1d 1871:64a40adccba4
37 "markdown": "md" 37 "markdown": "md"
38 } 38 }
39 CONF_SYNTAX_EXT = 'syntax_ext_dict' 39 CONF_SYNTAX_EXT = 'syntax_ext_dict'
40 BLOG_TMP_DIR="blog" 40 BLOG_TMP_DIR="blog"
41 # key to remove from metadata tmp file if they exist 41 # key to remove from metadata tmp file if they exist
42 KEY_TO_REMOVE_METADATA = ('id','content', 'content_rich', 'content_xhtml', 'comments_node', 'comments_service') 42 KEY_TO_REMOVE_METADATA = ('id','content', 'content_xhtml', 'comments_node', 'comments_service')
43 43
44 URL_REDIRECT_PREFIX = 'url_redirect_' 44 URL_REDIRECT_PREFIX = 'url_redirect_'
45 45
46 46
47 class Edit(base.CommandBase): 47 class Edit(base.CommandBase):