Rename foreign key from country_lookup to country
This commit is contained in:
parent
b6a45c9677
commit
f97b805f76
1 changed files with 1 additions and 1 deletions
|
@ -500,7 +500,7 @@ class Person(models.Model):
|
|||
entry_date = models.TextField(blank=True, null=True)
|
||||
gmba_function = models.TextField(blank=True, null=True)
|
||||
news_letter = models.BooleanField(default=False)
|
||||
country_lookup = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True)
|
||||
country = models.ForeignKey(Country, models.DO_NOTHING, blank=True, null=True, to_field='id')
|
||||
organization = models.ForeignKey(Organization, models.DO_NOTHING, blank=True, null=True)
|
||||
birds = models.BooleanField(default=False)
|
||||
mammals = models.BooleanField(default=False)
|
||||
|
|
Loading…
Reference in a new issue