Correct help text for product slug field

This commit is contained in:
PCoder 2018-10-05 09:37:57 +02:00
parent 1dafa592a2
commit 2fbee916cc
2 changed files with 21 additions and 2 deletions

View file

@ -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),
),
]

View file

@ -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="")