Skip to content

Commit

Permalink
Updated help_text for Organization.logo field
Browse files Browse the repository at this point in the history
The help text now reflects the fact that this field is used for the certificate image.

ECOM-6862
  • Loading branch information
Clinton Blackburn authored and clintonb committed Jan 18, 2017
1 parent 128bffc commit 9f000e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions organizations/migrations/0002_auto_20170117_1434.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 = [
('organizations', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='organization',
name='logo',
field=models.ImageField(help_text='Please add only .PNG files for logo images. This logo will be used on certificates.', max_length=255, null=True, upload_to=b'organization_logos', blank=True),
),
]
4 changes: 2 additions & 2 deletions organizations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Organization(TimeStampedModel):
"""
An Organizatio is a representation of an entity which publishes/provides
An Organization is a representation of an entity which publishes/provides
one or more courses delivered by the LMS. Organizations have a base set of
metadata describing the organization, including id, name, and description.
"""
Expand All @@ -20,7 +20,7 @@ class Organization(TimeStampedModel):
description = models.TextField()
logo = models.ImageField(
upload_to='organization_logos',
help_text=_(u'Please add only .PNG files for logo images.'),
help_text=_('Please add only .PNG files for logo images. This logo will be used on certificates.'),
null=True, blank=True, max_length=255
)
active = models.BooleanField(default=True)
Expand Down

0 comments on commit 9f000e9

Please sign in to comment.