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

8 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-11-22 21:05 +0000

1from app.models import* 

2from app.models.user import User 

3from app.models.event import Event 

4 

5class EventRsvpLog(baseModel): 

6 createdBy = ForeignKeyField(User) 

7 createdOn = DateTimeField() 

8 rsvpLogContent = CharField() 

9 event = ForeignKeyField(Event, backref="rsvpLogs")