cover enum case where choice begins with a number

This commit is contained in:
Jason Kraus 2019-05-30 14:13:19 -07:00
parent dc5799e109
commit c4febcde04
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ from __future__ import absolute_import
from django.db import models
from django.utils.translation import ugettext_lazy as _
CHOICES = ((1, "this"), (2, _("that")))
CHOICES = ((1, "1: this"), (2, _("2: that")))
class Pet(models.Model):

View File

@ -172,8 +172,8 @@ type Reporter {
}
enum ReporterAChoice {
THIS
THAT
A_1_THIS
A_2_THAT
}
enum ReporterReporterType {