From 2fbee916cceabd7983053fce33fe2badc8b9cb15 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 5 Oct 2018 09:37:57 +0200 Subject: [PATCH] Correct help text for product slug field --- hosting/migrations/0049_auto_20181005_0736.py | 20 +++++++++++++++++++ hosting/models.py | 3 +-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 hosting/migrations/0049_auto_20181005_0736.py diff --git a/hosting/migrations/0049_auto_20181005_0736.py b/hosting/migrations/0049_auto_20181005_0736.py new file mode 100644 index 00000000..b091ef45 --- /dev/null +++ b/hosting/migrations/0049_auto_20181005_0736.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2018-10-05 07:36 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('hosting', '0048_auto_20181003_0757'), + ] + + operations = [ + migrations.AlterField( + model_name='genericproduct', + name='product_slug', + field=models.SlugField(help_text='An mandatory unique slug for the product', unique=True), + ), + ] diff --git a/hosting/models.py b/hosting/models.py index b895b81d..707b072d 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -67,8 +67,7 @@ class GenericProduct(AssignPermissionsMixin, models.Model): product_slug = models.SlugField( unique=True, help_text=( - 'An optional html id for the Section. Required to set as target ' - 'of a link on page' + 'An mandatory unique slug for the product' ) ) product_description = models.CharField(max_length=500, default="")