Projects-Grants

This commit is contained in:
Matthew Dillon 2016-01-20 12:04:07 -07:00
parent 3572c75eff
commit 52a38951a3
5 changed files with 68 additions and 10 deletions

View file

@ -267,14 +267,14 @@ class TblHashPeopleSets(models.Model):
db_table = 'tbl_HASH_People_Sets'
class TblHashProjectGrants(models.Model):
projectid = models.ForeignKey('TblLuProjects', db_column='ProjectID') # Field name made lowercase.
grantid = models.ForeignKey('TblLuGrants', db_column='GrantID') # Field name made lowercase.
class Meta:
managed = False
db_table = 'tbl_HASH_Project_Grants'
unique_together = (('ProjectID', 'GrantID'),)
# class TblHashProjectGrants(models.Model):
# projectid = models.ForeignKey('TblLuProjects', db_column='ProjectID') # Field name made lowercase.
# grantid = models.ForeignKey('TblLuGrants', db_column='GrantID') # Field name made lowercase.
#
# class Meta:
# managed = False
# db_table = 'tbl_HASH_Project_Grants'
# unique_together = (('ProjectID', 'GrantID'),)
class TblHashTrapSpecies(models.Model):