diff --git a/src/utils/models.py b/src/utils/models.py index 0fe48d72..5699b323 100644 --- a/src/utils/models.py +++ b/src/utils/models.py @@ -94,6 +94,9 @@ class OutgoingEmail(CreatedUpdatedModel): attachment = models.FileField(blank=True) processed = models.BooleanField(default=False) + def __str__(self): + return 'OutgoingEmail Object id: {} '.format(self.id) + def clean(self): if not self.to_recipients \ and not self.bcc_recipients \