diff --git a/www/conservancy/apps/fundgoal/models.py b/www/conservancy/apps/fundgoal/models.py index 46d5f26e..8eb2b10d 100644 --- a/www/conservancy/apps/fundgoal/models.py +++ b/www/conservancy/apps/fundgoal/models.py @@ -1,5 +1,4 @@ from django.db import models -from decimal import * class FundraisingGoal(models.Model): """Conservancy fundraiser Goal""" @@ -14,7 +13,7 @@ class FundraisingGoal(models.Model): return self.fundraiser_code_name def percentage_there(self): - return (self.fundraiser_so_far_amount / self.fundraiser_goal_amount ) * Decimal('100.00') + return (self.fundraiser_so_far_amount / self.fundraiser_goal_amount ) * 100 class Meta: ordering = ('fundraiser_code_name',)