mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Duplicate check for size.
This commit is contained in:
parent
d1a1771031
commit
f67f7a46a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user