Commit 9b442eab authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix webapp mode

webapp should always be created with sandbox_state=idle
parent d4f700f1
......@@ -225,7 +225,7 @@ class Webapp(TimeStampModel):
#FIXME: unused field
access_token = models.CharField(max_length=255, blank=True, null=True,
validators=[token_validator])
sandbox_state = models.IntegerField(null=True, choices=SANDBOX_STATE_CHOICES, default=STARTING)
sandbox_state = models.IntegerField(null=True, choices=SANDBOX_STATE_CHOICES, default=IDLE)
sandbox_version = models.ForeignKey('WebappVersion', null=True, blank=True, related_name='webappversions')
notebook_gitrepo = models.CharField(max_length=255, blank=True, null=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment