person occupation model change, is_main instead of order

This commit is contained in:
Sanj 2012-09-03 03:35:33 +05:30
parent e7590216e3
commit 607285beac

View File

@ -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):