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

7 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2024-10-24 20:53 +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), )