From a0cf841d911e9abf88a03bcf4db8925754a02a05 Mon Sep 17 00:00:00 2001 From: tomtom5152 Date: Fri, 30 Jan 2015 00:16:29 +0000 Subject: [PATCH] Added default value to Invoice.void (False) --- RIGS/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RIGS/models.py b/RIGS/models.py index f264066d..6b939a41 100644 --- a/RIGS/models.py +++ b/RIGS/models.py @@ -317,7 +317,7 @@ class EventCrew(models.Model): class Invoice(models.Model): event = models.OneToOneField('Event') invoice_date = models.DateField(auto_now_add=True) - void = models.BooleanField() + void = models.BooleanField(default=False) @property def sum_total(self):