🔥(backend) remove code_editor field

code_editor field was removed from the backend.
This filed was used to store the code editor to
generate templates.
This commit is contained in:
Anthony LC
2024-05-02 14:13:15 +02:00
committed by Anthony LC
parent c7a5b5f3fb
commit 5fbb5106a9
6 changed files with 1 additions and 24 deletions

View File

@@ -327,12 +327,6 @@ class Template(BaseModel):
title = models.CharField(_("title"), max_length=255)
description = models.TextField(_("description"), blank=True)
code_editor = models.JSONField(
_("code editor"),
help_text=_("A JSON object with all the editor information"),
blank=True,
default=dict,
)
code = models.TextField(_("code"), blank=True)
css = models.TextField(_("css"), blank=True)
is_public = models.BooleanField(