commit | 4cf55c5a04f0670512bd84013bb71f6d84d06518 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Fri Jul 13 02:16:22 2012 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Fri Jul 13 02:16:22 2012 +0530 |
tree | 51920509d5b8952144179529083901d5fae28e06 | |
parent | 53bd49d46cba3a91ded766fb695794d0be615923 [diff] |
fixes in blog caching
diff --git a/erpnext/website/blog.py b/erpnext/website/blog.py index d8f0fd9..a890cc0 100644 --- a/erpnext/website/blog.py +++ b/erpnext/website/blog.py
@@ -94,6 +94,9 @@ website.web_cache.clear_cache(args.get('page_name'), args.get('comment_doctype'), args.get('comment_docname')) + # loads fresh blog into cache + get_blog_content(args.get('page_name')) + import webnotes.utils comment['comment_date'] = webnotes.utils.pretty_date(comment['creation'])