Coverage for app/models/bonnerCohort.py: 100%
7 statements
« prev ^ index » next coverage.py v7.2.7, created at 2024-09-03 17:48 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2024-09-03 17:48 +0000
1from app.models import *
2from app.models.user import User
4class BonnerCohort(baseModel):
5 year = IntegerField()
6 user = ForeignKeyField(User)
8 class Meta:
9 indexes = ( (('year','user'), True), )