perf: 优化变量名

This commit is contained in:
feng626
2021-08-26 18:29:02 +08:00
parent 0b1a1591f8
commit 5854ad1975
10 changed files with 10 additions and 63 deletions

View File

@@ -19,7 +19,7 @@ class ApprovalRule(CommonModelMixin):
verbose_name=_('Approve level')
)
strategy = models.CharField(
max_length=64, default=TicketApprovalStrategy.super,
max_length=64, default=TicketApprovalStrategy.super_admin,
choices=TicketApprovalStrategy.choices,
verbose_name=_('Approve strategy')
)