|
|
@@ -999,11 +999,11 @@ class MemberActivityContributionInfo(BaseModelMixin, BrandInfoMixin):
|
999
|
999
|
unlock_welfares = MemberActivityContributionWelfareUnlockingInfo.objects.filter(activity_id=self.activity_id, user_id=self.user_id)
|
1000
|
1000
|
unlock_welfares = [unlock_welfare.data for unlock_welfare in unlock_welfares]
|
1001
|
1001
|
|
1002
|
|
- try:
|
1003
|
|
- lensman = LensmanInfo.objects.get(user_id=self.user_id, lensman_status=LensmanInfo.ACTIVATED)
|
1004
|
|
- lensman_name = lensman.name
|
1005
|
|
- except:
|
1006
|
|
- lensman_name = ''
|
|
1002
|
+ # try:
|
|
1003
|
+ # lensman = LensmanInfo.objects.get(user_id=self.user_id, lensman_status=LensmanInfo.ACTIVATED)
|
|
1004
|
+ # lensman_name = lensman.name
|
|
1005
|
+ # except LensmanInfo.DoesNotExist:
|
|
1006
|
+ # lensman_name = ''
|
1007
|
1007
|
|
1008
|
1008
|
return {
|
1009
|
1009
|
'contribution_id': self.contribution_id,
|