Added descriptive help text

This commit is contained in:
Oliver Walters 2019-07-15 23:53:25 +10:00
parent d800ed715e
commit 310d4b5f07
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,23 @@
# Generated by Django 2.2.2 on 2019-07-15 13:51
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock', '0008_stockitemtracking_url'),
]
operations = [
migrations.AlterField(
model_name='stockitemtracking',
name='notes',
field=models.CharField(blank=True, help_text='Entry notes', max_length=512),
),
migrations.AlterField(
model_name='stockitemtracking',
name='title',
field=models.CharField(help_text='Tracking entry title', max_length=250),
),
]

View File

@ -526,9 +526,9 @@ class StockItemTracking(models.Model):
date = models.DateTimeField(auto_now_add=True, editable=False)
title = models.CharField(blank=False, max_length=250)
title = models.CharField(blank=False, max_length=250, help_text='Tracking entry title')
notes = models.TextField(blank=True)
notes = models.CharField(blank=True, max_length=512, help_text='Entry notes')
URL = models.URLField(blank=True, help_text='Link to external page for further information')