mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-06-07 23:22:51 +02:00
feat: presets
This commit is contained in:
@@ -9,9 +9,9 @@ from apps.import_app.schemas import version_1
|
||||
|
||||
class ImportProfile(models.Model):
|
||||
class Versions(models.IntegerChoices):
|
||||
VERSION_1 = 1, _("Version 1")
|
||||
VERSION_1 = 1, _("Version") + " 1"
|
||||
|
||||
name = models.CharField(max_length=100, verbose_name=_("Name"))
|
||||
name = models.CharField(max_length=100, verbose_name=_("Name"), unique=True)
|
||||
yaml_config = models.TextField(verbose_name=_("YAML Configuration"))
|
||||
version = models.IntegerField(
|
||||
choices=Versions,
|
||||
|
||||
Reference in New Issue
Block a user