diff --git a/akvo/rsr/migrations/0070_auto_20160519_1113.py b/akvo/rsr/migrations/0070_auto_20160519_1205.py similarity index 68% rename from akvo/rsr/migrations/0070_auto_20160519_1113.py rename to akvo/rsr/migrations/0070_auto_20160519_1205.py index 1f3e8a0b60..bfb80e5a77 100644 --- a/akvo/rsr/migrations/0070_auto_20160519_1113.py +++ b/akvo/rsr/migrations/0070_auto_20160519_1205.py @@ -12,6 +12,12 @@ class Migration(migrations.Migration): ] operations = [ + migrations.AlterField( + model_name='keyword', + name='label', + field=akvo.rsr.fields.ValidXMLCharField(help_text='Select keywords in case you are using an Akvo Page. Keywords linked to a project will determine if a project appears on the Akvo Page or not.', unique=True, max_length=30, verbose_name='label', db_index=True), + preserve_default=True, + ), migrations.AlterField( model_name='sector', name='sector_code', diff --git a/akvo/rsr/models/keyword.py b/akvo/rsr/models/keyword.py index 95176c00ee..658daac4f8 100644 --- a/akvo/rsr/models/keyword.py +++ b/akvo/rsr/models/keyword.py @@ -19,7 +19,11 @@ def logo_path(instance, file_name): class Keyword(models.Model): - label = ValidXMLCharField(_(u'label'), max_length=30, unique=True, db_index=True) + label = ValidXMLCharField( + _(u'label'), max_length=30, unique=True, db_index=True, + help_text=_(u'Select keywords in case you are using an Akvo Page. Keywords linked to a ' + u'project will determine if a project appears on the Akvo Page or not.') + ) logo = ImageField( _('logo'), blank=True, upload_to=logo_path, help_text=_(u'Add your keyword logo here. You can only add one logo. ' diff --git a/akvo/templates/myrsr/project_editor/section_10.html b/akvo/templates/myrsr/project_editor/section_10.html index 0c0385a87a..2110904397 100644 --- a/akvo/templates/myrsr/project_editor/section_10.html +++ b/akvo/templates/myrsr/project_editor/section_10.html @@ -12,7 +12,10 @@