Projects-Grants
This commit is contained in:
parent
3572c75eff
commit
52a38951a3
5 changed files with 68 additions and 10 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue