changeset 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 631a757bc169
children 5ba2508939f7 b08f6a97228f
files news/admin.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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):