Commit 883aedb5 by Ben McMorran

Add blank=True to rerun state display name

parent 3b6b4668
...@@ -10,7 +10,7 @@ class Migration(SchemaMigration): ...@@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def forwards(self, orm): def forwards(self, orm):
# Adding field 'CourseRerunState.display_name' # Adding field 'CourseRerunState.display_name'
db.add_column('course_action_state_coursererunstate', 'display_name', db.add_column('course_action_state_coursererunstate', 'display_name',
self.gf('django.db.models.fields.CharField')(default='', max_length=255), self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True),
keep_default=False) keep_default=False)
......
...@@ -110,7 +110,7 @@ class CourseRerunState(CourseActionUIState): ...@@ -110,7 +110,7 @@ class CourseRerunState(CourseActionUIState):
source_course_key = CourseKeyField(max_length=255, db_index=True) source_course_key = CourseKeyField(max_length=255, db_index=True)
# Display name for destination course # Display name for destination course
display_name = models.CharField(max_length=255, default="") display_name = models.CharField(max_length=255, default="", blank=True)
# MANAGERS # MANAGERS
# Override the abstract class' manager with a Rerun-specific manager that inherits from the base class' manager. # Override the abstract class' manager with a Rerun-specific manager that inherits from the base class' manager.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment