mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-04-05 03:45:21 +00:00
perf: clone plateform charset (#9442)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -68,7 +68,7 @@ class Platform(models.Model):
|
||||
"""
|
||||
|
||||
class CharsetChoices(models.TextChoices):
|
||||
utf8 = 'utf8', 'UTF-8'
|
||||
utf8 = 'utf-8', 'UTF-8'
|
||||
gbk = 'gbk', 'GBK'
|
||||
|
||||
name = models.SlugField(verbose_name=_("Name"), unique=True, allow_unicode=True)
|
||||
|
||||
Reference in New Issue
Block a user