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

8 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-09-18 19:56 +0000

1from app.models import* 

2from app.models.user import User 

3 

4class Note(baseModel): 

5 createdBy = ForeignKeyField(User) 

6 createdOn = DateTimeField() 

7 noteContent = CharField() 

8 isPrivate = BooleanField(default=False) 

9 noteType = CharField(null=True)