perf: clone plateform charset (#9442)

Co-authored-by: feng <1304903146@qq.com>
pull/9444/head
fit2bot 2023-02-06 15:05:38 +08:00 committed by GitHub
parent 654cbe7bd0
commit 8afe28773d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class Platform(models.Model):
""" """
class CharsetChoices(models.TextChoices): class CharsetChoices(models.TextChoices):
utf8 = 'utf8', 'UTF-8' utf8 = 'utf-8', 'UTF-8'
gbk = 'gbk', 'GBK' gbk = 'gbk', 'GBK'
name = models.SlugField(verbose_name=_("Name"), unique=True, allow_unicode=True) name = models.SlugField(verbose_name=_("Name"), unique=True, allow_unicode=True)