migration for container options for EE model

Co-authored-by: Shane McDonald <me@shanemcd.com>
This commit is contained in:
Rebeccah
2021-01-27 17:32:01 -05:00
committed by Shane McDonald
parent 92f0af684c
commit 31e7e10f30
2 changed files with 20 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class ExecutionEnvironment(CommonModel):
PULL_CHOICES = [
('always', _("Always pull container before running.")),
('missing', _("No pull option has been selected")),
('never', _("Never cull container before running"))
('never', _("Never pull container before running"))
]
organization = models.ForeignKey(
@@ -44,6 +44,7 @@ class ExecutionEnvironment(CommonModel):
container_options = models.CharField(
max_length=1024,
choices=PULL_CHOICES,
default='missing',
help_text=_('Pull image before running?'),
)