Commit a58cdc19 by Simon Chen

Update the db limit of course short description to count for foreign character encoding

parent 4cd29189
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-01-31 19:56
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_metadata', '0076_auto_20171219_1841'),
]
operations = [
migrations.AlterField(
model_name='course',
name='short_description',
field=models.CharField(blank=True, default=None, max_length=350, null=True),
),
]
...@@ -338,7 +338,7 @@ class Course(TimeStampedModel): ...@@ -338,7 +338,7 @@ class Course(TimeStampedModel):
) )
key = models.CharField(max_length=255) key = models.CharField(max_length=255)
title = models.CharField(max_length=255, default=None, null=True, blank=True) title = models.CharField(max_length=255, default=None, null=True, blank=True)
short_description = models.CharField(max_length=255, default=None, null=True, blank=True) short_description = models.CharField(max_length=350, default=None, null=True, blank=True)
full_description = models.TextField(default=None, null=True, blank=True) full_description = models.TextField(default=None, null=True, blank=True)
authoring_organizations = SortedManyToManyField(Organization, blank=True, related_name='authored_courses') authoring_organizations = SortedManyToManyField(Organization, blank=True, related_name='authored_courses')
sponsoring_organizations = SortedManyToManyField(Organization, blank=True, related_name='sponsored_courses') sponsoring_organizations = SortedManyToManyField(Organization, blank=True, related_name='sponsored_courses')
......
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