projects
/
htsworkflow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
With 1.6 boolean field changed to default Null, so to be backwards compatible set...
[htsworkflow.git]
/
htsworkflow
/
frontend
/
inventory
/
models.py
diff --git
a/htsworkflow/frontend/inventory/models.py
b/htsworkflow/frontend/inventory/models.py
index 46b37ec615a93647cd40a0de76d65e0efec72afe..e729fe49b7a7f5b4651fbb7615c045dbe1834132 100644
(file)
--- a/
htsworkflow/frontend/inventory/models.py
+++ b/
htsworkflow/frontend/inventory/models.py
@@
-157,7
+157,7
@@
class PrinterTemplate(models.Model):
item_type = models.ForeignKey(ItemType)
printer = models.ForeignKey(Printer)
- default = models.BooleanField()
+ default = models.BooleanField(
default=False
)
template = models.TextField()