fix MemberActivityGroupShareInfo coercing to Unicode: need string or buffer, long found

FFIB 4 years ago
parent
commit
23d474e1f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -542,4 +542,4 @@ class MemberActivityGroupShareInfo(BaseModelMixin):
542 542
         verbose_name_plural = _(u'会员活动群组分享信息')
543 543
 
544 544
     def __unicode__(self):
545
-        return self.pk
545
+        return '%d' % self.pk