##// END OF EJS Templates
Show raw post text in the log when created post
neko259 -
r2006:127660f1 default
parent child Browse files
Show More
@@ -79,7 +79,7 b' class PostManager(models.Manager):'
79 logger = logging.getLogger('boards.post.create')
79 logger = logging.getLogger('boards.post.create')
80
80
81 logger.info('Created post [{}] with text [{}] by {}'.format(post,
81 logger.info('Created post [{}] with text [{}] by {}'.format(post,
82 post.get_text(),post.poster_ip))
82 post.get_raw_text(), post.poster_ip))
83
83
84 for file in files:
84 for file in files:
85 self._add_file_to_post(file, post)
85 self._add_file_to_post(file, post)
General Comments 0
You need to be logged in to leave comments. Login now