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

7 statements  

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

1from app.models import * 

2from app.models.user import User 

3 

4class BonnerCohort(baseModel): 

5 year = IntegerField() 

6 user = ForeignKeyField(User) 

7 

8 class Meta: 

9 indexes = ( (('year','user'), True), )