Commit 4e80415d by Ahsan Ulhaq

Make statement field in corporate endorsement not required

ECOM-6544
parent 867c39b6
# -*- coding: utf-8 -*-
# Generated by Django 1.9.11 on 2017-01-19 09:18
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_metadata', '0041_organization_certificate_logo_image_url'),
]
operations = [
migrations.AlterField(
model_name='corporateendorsement',
name='statement',
field=models.TextField(blank=True, null=True),
),
]
......@@ -558,7 +558,7 @@ class Endorsement(TimeStampedModel):
class CorporateEndorsement(TimeStampedModel):
corporation_name = models.CharField(max_length=128, blank=False, null=False)
statement = models.TextField(blank=False, null=False)
statement = models.TextField(null=True, blank=True)
image = models.ForeignKey(Image, blank=True, null=True)
individual_endorsements = SortedManyToManyField(Endorsement)
......
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