diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-07 05:56:27 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-07 05:56:27 -0400 |
commit | c9b07025ceb5ff50dcae2d845bcdc63efb000d7d (patch) | |
tree | 9413dc741a44b032e00dacf9a316255d586d894d /askbot/models | |
parent | 67c5a4bb63a08c3620e6667f4b0c3a3c61cc61ce (diff) | |
download | askbot-c9b07025ceb5ff50dcae2d845bcdc63efb000d7d.tar.gz askbot-c9b07025ceb5ff50dcae2d845bcdc63efb000d7d.tar.bz2 askbot-c9b07025ceb5ff50dcae2d845bcdc63efb000d7d.zip |
css and bug fixes
Diffstat (limited to 'askbot/models')
-rw-r--r-- | askbot/models/post.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py index 10003e57..42905f65 100644 --- a/askbot/models/post.py +++ b/askbot/models/post.py @@ -609,8 +609,10 @@ class Post(models.Model): return markup.plain_text_input_converter elif parser_type == 'markdown': return markup.markdown_input_converter - elif parser_type == 'tynymce': + elif parser_type == 'tinymce': return markup.tinymce_input_converter + else: + raise NotImplementedError def has_group(self, group): """true if post belongs to the group""" |