From 21aa9a978997534ec45031a221057008594842f2 Mon Sep 17 00:00:00 2001 From: jonwzheng Date: Tue, 9 Jul 2024 16:30:14 -0400 Subject: [PATCH] fix nullable for diff --- rmgweb/rmg/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmgweb/rmg/models.py b/rmgweb/rmg/models.py index 1dadaa9..62809a0 100644 --- a/rmgweb/rmg/models.py +++ b/rmgweb/rmg/models.py @@ -180,7 +180,7 @@ def __init__(self, *args, **kwargs): dict_file1 = models.FileField(upload_to=uploadTo('RMG_Dictionary1.txt'), verbose_name='Model 1: RMG Dictionary', blank=True, null=True) foreign1 = models.BooleanField(verbose_name="Model 1 not an RMG-generated Chemkin file") chem_file2 = models.FileField(upload_to=uploadTo('chem2.inp'), verbose_name='Model 2: Chemkin File', blank=True, null=True) - dict_file2 = models.FileField(upload_to=uploadTo('RMG_Dictionary2.txt'), verbose_name='Model 2: RMG Dictionary', ) + dict_file2 = models.FileField(upload_to=uploadTo('RMG_Dictionary2.txt'), verbose_name='Model 2: RMG Dictionary', blank=True, null=True) foreign2 = models.BooleanField(verbose_name="Model 2 not an RMG-generated Chemkin file") def createOutput(self):