Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

Commit

Permalink
Merge pull request #58 from edx/jsa/ecom-3106
Browse files Browse the repository at this point in the history
Increase max length of Program.name field.
  • Loading branch information
Jim Abramson committed Dec 4, 2015
2 parents 65e26d6 + e96108f commit 2c23487
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions programs/apps/programs/migrations/0005_auto_20151204_2212.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('programs', '0004_start_date_run_key'),
]

operations = [
migrations.AlterField(
model_name='program',
name='name',
field=models.CharField(help_text='The user-facing display name for this Program.', unique=True, max_length=255),
),
]
2 changes: 1 addition & 1 deletion programs/apps/programs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Program(TimeStampedModel):

name = models.CharField(
help_text=_('The user-facing display name for this Program.'),
max_length=64,
max_length=255,
unique=True,
)

Expand Down

0 comments on commit 2c23487

Please sign in to comment.