From 607285beac3108b41dd79ecec08fb14910d13ccf Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 3 Sep 2012 03:35:33 +0530 Subject: [PATCH] person occupation model change, is_main instead of order --- itf/itfprofiles/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/itf/itfprofiles/models.py b/itf/itfprofiles/models.py index 463d713..973f1d1 100644 --- a/itf/itfprofiles/models.py +++ b/itf/itfprofiles/models.py @@ -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):