fix can't be jsonlized, due to 'ascii' codec can't decode byte 0xe8

FFIB 4 年之前
父节点
当前提交
8ac9bd5379
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -353,7 +353,7 @@ class MemberActivityInfo(BaseModelMixin):
353 353
             return u'报名中'
354 354
         tdate = tc.local_date()
355 355
         if tdate < self.date:
356
-            return u'报名中' if self.is_signup else '进行中'
356
+            return u'报名中' if self.is_signup else u'进行中'
357 357
         if tdate == self.date:
358 358
             return u'活动中'
359 359
         return u'已结束'