Coverage for app/models/emailLog.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-10-02 17:57 +0000

1from app.models import * 

2from app.models.emailTemplate import EmailTemplate 

3from app.models.event import Event 

4from app.models.user import User 

5 

6class EmailLog(baseModel): 

7 event = ForeignKeyField(Event) 

8 subject = CharField() 

9 templateUsed = ForeignKeyField(EmailTemplate) 

10 recipientsCategory = CharField() 

11 recipients = CharField() 

12 dateSent = DateTimeField() 

13 sender = CharField() 

14 attachmentName = CharField(null=True)