settings split for development and production.py
This commit is contained in:
+4
-1
@@ -41,4 +41,7 @@ class Booking(models.Model):
|
||||
|
||||
@property
|
||||
def containers_left(self):
|
||||
return self.container_count - (self.container_expedited_count or 0)
|
||||
return self.container_count - (self.container_expedited_count or 0)
|
||||
|
||||
class Meta:
|
||||
app_label = 'booking'
|
||||
Reference in New Issue
Block a user