Browse Source

Include small.

feature/bike-tracking
Drew Larson 8 years ago
parent
commit
8ad4a22378
  1. 20
      bikeshop_project/bike/migrations/0004_auto_20170129_2220.py
  2. 1
      bikeshop_project/bike/models.py

20
bikeshop_project/bike/migrations/0004_auto_20170129_2220.py

@ -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),
),
]

1
bikeshop_project/bike/models.py

@ -35,6 +35,7 @@ class Bike(models.Model):
size_choices = ( size_choices = (
(CHILD, 'child'), (CHILD, 'child'),
(SMALL, 'small'),
(MEDIUM, 'medium'), (MEDIUM, 'medium'),
(LARGE, 'large'), (LARGE, 'large'),
(EXTRA_LARGE, 'extra large'), (EXTRA_LARGE, 'extra large'),

Loading…
Cancel
Save