mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Add additional new __repr_ function
This commit is contained in:
		@@ -438,7 +438,7 @@ class NotificationEmailData(db.Model):
 | 
			
		||||
        '''
 | 
			
		||||
        String representation of the NotificationEmailData. For human readability.
 | 
			
		||||
        '''
 | 
			
		||||
        return '<NotificationData %r>' % self.id  # TODO: Why not .format()?
 | 
			
		||||
        return '<NotificationData {id}>'.format(id=self.id)
 | 
			
		||||
 | 
			
		||||
    def to_dict(self):
 | 
			
		||||
        return {'id': self.id,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user