diff options
Diffstat (limited to 'askbot/models/post.py')
-rw-r--r-- | askbot/models/post.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py index deb7726b..956f875e 100644 --- a/askbot/models/post.py +++ b/askbot/models/post.py @@ -13,7 +13,6 @@ from django.core import urlresolvers from django.db import models from django.utils import html as html_utils from django.utils.translation import ugettext as _ -from django.utils.translation import ungettext from django.utils.http import urlquote as django_urlquote from django.core import exceptions as django_exceptions from django.core import cache @@ -243,7 +242,7 @@ class PostManager(BaseQuerySetManager): author = author, revised_at = added_at, text = text, - comment = const.POST_STATUS['default_version'], + comment = unicode(const.POST_STATUS['default_version']), by_email = by_email ) |