From 17df34de76915876b6eafc6ff881b9ef137d5250 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Mon, 4 May 2015 16:00:57 -0700 Subject: [PATCH] Enlarged instructor field. Some sections have many instructors listed --- flashcards/migrations/0003_auto_20150504_1600.py | 19 +++++++++++++++++++ flashcards/models.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 flashcards/migrations/0003_auto_20150504_1600.py diff --git a/flashcards/migrations/0003_auto_20150504_1600.py b/flashcards/migrations/0003_auto_20150504_1600.py new file mode 100644 index 0000000..278d425 --- /dev/null +++ b/flashcards/migrations/0003_auto_20150504_1600.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('flashcards', '0002_auto_20150504_1327'), + ] + + operations = [ + migrations.AlterField( + model_name='section', + name='instructor', + field=models.CharField(max_length=100), + ), + ] diff --git a/flashcards/models.py b/flashcards/models.py index 1bac3d3..61ded13 100644 --- a/flashcards/models.py +++ b/flashcards/models.py @@ -158,7 +158,7 @@ class Section(Model): course_num = CharField(max_length=6) # section_id = CharField(max_length=10) course_title = CharField(max_length=50) - instructor = CharField(max_length=50) + instructor = CharField(max_length=100) quarter = CharField(max_length=4) whitelist = ManyToManyField(User, related_name="whitelisted_sections") -- 1.9.1