diff options
Diffstat (limited to 'core/models.py')
-rw-r--r-- | core/models.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/models.py b/core/models.py index 9900dd4..c8eb965 100644 --- a/core/models.py +++ b/core/models.py @@ -160,12 +160,6 @@ class Person(TroggleModel): notability += Decimal(1) / (max_expo_val - int(personexpedition.expedition.year)) return notability - def legslength(self): - for personexpedition in self.personexpedition_set.all(): - if not personexpedition.is_guest: - length += personexpedition.legslength - return length - def bisnotable(self): return self.notability() > Decimal(1)/Decimal(3) @@ -183,7 +177,6 @@ class PersonExpedition(TroggleModel): expedition = models.ForeignKey(Expedition,on_delete=models.CASCADE) person = models.ForeignKey(Person,on_delete=models.CASCADE) slugfield = models.SlugField(max_length=50,blank=True, null=True) - legslength = models.FloatField(null=True) is_guest = models.BooleanField(default=False) COMMITTEE_CHOICES = ( |