changed the field name from 'container_options' to simply 'pull'

This commit is contained in:
Rebeccah
2021-02-09 11:40:44 -05:00
committed by Shane McDonald
parent b0265b060b
commit 4b40cb3abb
9 changed files with 29 additions and 28 deletions

View File

@@ -14,8 +14,8 @@ class ExecutionEnvironment(CommonModel):
PULL_CHOICES = [
('always', _("Always pull container before running.")),
('missing', _("No pull option has been selected")),
('never', _("Never pull container before running"))
('missing', _("No pull option has been selected.")),
('never', _("Never pull container before running."))
]
organization = models.ForeignKey(
@@ -41,7 +41,7 @@ class ExecutionEnvironment(CommonModel):
default=None,
on_delete=models.SET_NULL,
)
container_options = models.CharField(
pull = models.CharField(
max_length=1024,
choices=PULL_CHOICES,
default='missing',