|  |  | @@ -1,4 +1,5 @@ | 
            
            
              | 1 | 1 |  # -*- coding: utf-8 -*- | 
            
            
              |  | 2 | +import json | 
            
            
              | 2 | 3 |   | 
            
            
              | 3 | 4 |  from django.db import models | 
            
            
              | 4 | 5 |  from django.utils.translation import ugettext_lazy as _ | 
            
            
            
            
              |  |  | @@ -76,7 +77,7 @@ class LensmanContributionContractInfo(BaseModelMixin): | 
            
            
              | 76 | 77 |              'lensman_id': self.lensman_id, | 
            
            
              | 77 | 78 |              'activity_id': self.activity_id, | 
            
            
              | 78 | 79 |              'contribution_id': self.contribution_id, | 
            
            
              | 79 |  | -            'contract_content_fields': self.contract_content_fields, | 
            
            
              |  | 80 | +            'contract_content_fields': json.loads(self.contract_content_fields) if self.contract_content_fields else '', | 
            
            
              | 80 | 81 |              'contract_file_url': self.contract_file_url, | 
            
            
              | 81 | 82 |              'created_at': tc.local_string(utc_dt=self.created_at, format='%Y-%m-%d %H:%M:%S'), | 
            
            
              | 82 | 83 |              'updated_at': tc.local_string(utc_dt=self.updated_at, format='%Y-%m-%d %H:%M:%S') |