Commit ade74d2d authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

remove WebappVersion.url

(was not used at all)
parent b2905227
Pipeline #39955 failed with stage
in 1 minute and 3 seconds
......@@ -372,8 +372,6 @@ class WebappVersion(TimeStampModel):
docker_image_size = models.FloatField(blank=True, null=True)
state = models.IntegerField(choices=SANDBOX_STATE_CHOICES)
published = models.BooleanField()
#TODO: remove
url = models.URLField(blank=True, null=True)
webapp = models.ForeignKey('Webapp', on_delete=models.CASCADE, related_name="webapp")
......
......@@ -386,7 +386,6 @@ class WebappSandboxPanel(LoginRequiredMixin, TemplateView):
state=WebappVersion.SANDBOX,
published=True,
description=request.POST["description"],
url="http://WTF",
**extra)
stop_sandbox()
......
......@@ -65,7 +65,7 @@ def pre_pushpull(request, action):
# create a new WebappVersion entry in state USER
version = WebappVersion.objects.create(
webapp=webapp, number=tag, state=WebappVersion.USER,
published=True, description="TODO", url="http://WTF")
published=True, description="TODO")
version.save()
else:
......
Supports Markdown
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