Mercurial > public > sg101
diff news/admin.py @ 1027:cd4db27c90e3
Fix unicode issue with creating forum threads for news.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 14 Dec 2015 20:42:20 -0600 |
parents | 9fc12bbc8c81 |
children | b7b98c729abc |
line wrap: on
line diff
--- a/news/admin.py Mon Dec 14 19:43:45 2015 -0600 +++ b/news/admin.py Mon Dec 14 20:42:20 2015 -0600 @@ -12,8 +12,8 @@ import ftfy -COMMENT_THREAD_BODY = ("This topic was automatically created to discuss the " - "news story [{title}]({url}).") +COMMENT_THREAD_BODY = (u"This topic was automatically created to discuss the " + u"news story [{title}]({url}).") class CategoryAdmin(admin.ModelAdmin):