Commit 17df34de76915876b6eafc6ff881b9ef137d5250

Authored by Andrew Buss
1 parent bf4ae95e46
Exists in master

Enlarged instructor field. Some sections have many instructors listed

Showing 2 changed files with 20 additions and 1 deletions Side-by-side Diff

flashcards/migrations/0003_auto_20150504_1600.py View file @ 17df34d
  1 +# -*- coding: utf-8 -*-
  2 +from __future__ import unicode_literals
  3 +
  4 +from django.db import models, migrations
  5 +
  6 +
  7 +class Migration(migrations.Migration):
  8 +
  9 + dependencies = [
  10 + ('flashcards', '0002_auto_20150504_1327'),
  11 + ]
  12 +
  13 + operations = [
  14 + migrations.AlterField(
  15 + model_name='section',
  16 + name='instructor',
  17 + field=models.CharField(max_length=100),
  18 + ),
  19 + ]
flashcards/models.py View file @ 17df34d
... ... @@ -158,7 +158,7 @@
158 158 course_num = CharField(max_length=6)
159 159 # section_id = CharField(max_length=10)
160 160 course_title = CharField(max_length=50)
161   - instructor = CharField(max_length=50)
  161 + instructor = CharField(max_length=100)
162 162 quarter = CharField(max_length=4)
163 163 whitelist = ManyToManyField(User, related_name="whitelisted_sections")
164 164