diff --git a/bikeshop_project/bike/migrations/0004_auto_20170129_2220.py b/bikeshop_project/bike/migrations/0004_auto_20170129_2220.py new file mode 100644 index 0000000..385d10f --- /dev/null +++ b/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), + ), + ] diff --git a/bikeshop_project/bike/models.py b/bikeshop_project/bike/models.py index 6d6fc3d..6ea2d4b 100644 --- a/bikeshop_project/bike/models.py +++ b/bikeshop_project/bike/models.py @@ -35,6 +35,7 @@ class Bike(models.Model): size_choices = ( (CHILD, 'child'), + (SMALL, 'small'), (MEDIUM, 'medium'), (LARGE, 'large'), (EXTRA_LARGE, 'extra large'),