person occupation model change, is_main instead of order
This commit is contained in:
parent
e7590216e3
commit
607285beac
|
@ -193,7 +193,8 @@ class Location(models.Model):
|
|||
class PersonOccupation(models.Model):
|
||||
person = models.ForeignKey(Person, db_index=True)
|
||||
occupation = models.ForeignKey(Occupation)
|
||||
order = models.IntegerField()
|
||||
is_main = models.BooleanField(default=False, verbose_name='Is this your main occupation?')
|
||||
# order = models.IntegerField()
|
||||
|
||||
|
||||
class PersonPerson(models.Model):
|
||||
|
|
Loading…
Reference in New Issue
Block a user