diff --git a/tests/model_regress/models.py b/tests/model_regress/models.py index b9db796dcb7..a9786e37aba 100644 --- a/tests/model_regress/models.py +++ b/tests/model_regress/models.py @@ -1,12 +1,11 @@ from django.db import models -CHOICES = ( - (1, 'first'), - (2, 'second'), -) - class Article(models.Model): + CHOICES = ( + (1, 'first'), + (2, 'second'), + ) headline = models.CharField(max_length=100, default='Default headline') pub_date = models.DateTimeField() status = models.IntegerField(blank=True, null=True, choices=CHOICES)