From f67f7a46a11f0228f5ec44c68e78e07b34efad38 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sat, 7 Jan 2017 12:58:20 -0600 Subject: [PATCH] Duplicate check for size. --- bikeshop_project/bike/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bikeshop_project/bike/models.py b/bikeshop_project/bike/models.py index cf6aec7..cc1b3e7 100644 --- a/bikeshop_project/bike/models.py +++ b/bikeshop_project/bike/models.py @@ -72,7 +72,7 @@ class Bike(models.Model): def can_assessed(self): return self.colour is not None and self.make is not None and self.size is not None and self.source is not None \ - and self.price is not None and self.size is not None + and self.price is not None def can_available(self): return self.stolen is not None and self.cpic_searched_at is not None and self.serial_number is not None