mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Refs #30947 -- Changed tuples to lists where appropriate.
This commit is contained in:
parent
b3db6c8dcb
commit
de6c9c7054
16 changed files with 142 additions and 142 deletions
|
@ -181,11 +181,11 @@ ones:
|
|||
from django.db import models
|
||||
|
||||
class Person(models.Model):
|
||||
SHIRT_SIZES = (
|
||||
SHIRT_SIZES = [
|
||||
('S', 'Small'),
|
||||
('M', 'Medium'),
|
||||
('L', 'Large'),
|
||||
)
|
||||
]
|
||||
name = models.CharField(max_length=60)
|
||||
shirt_size = models.CharField(max_length=1, choices=SHIRT_SIZES)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue