mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 09:13:23 -05:00
Include small.
This commit is contained in:
parent
602941f829
commit
8ad4a22378
20
bikeshop_project/bike/migrations/0004_auto_20170129_2220.py
Normal file
20
bikeshop_project/bike/migrations/0004_auto_20170129_2220.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2017-01-29 22:20
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bike', '0003_auto_20170105_1405'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='bike',
|
||||
name='size',
|
||||
field=models.TextField(blank=True, choices=[('C', 'child'), ('S', 'small'), ('M', 'medium'), ('L', 'large'), ('XL', 'extra large')], max_length=2, null=True),
|
||||
),
|
||||
]
|
@ -35,6 +35,7 @@ class Bike(models.Model):
|
||||
|
||||
size_choices = (
|
||||
(CHILD, 'child'),
|
||||
(SMALL, 'small'),
|
||||
(MEDIUM, 'medium'),
|
||||
(LARGE, 'large'),
|
||||
(EXTRA_LARGE, 'extra large'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user