2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

Explicitly mark some CharField as non blank

This commit is contained in:
Oliver Walters
2019-05-04 17:00:33 +10:00
parent 1d9e31c229
commit 4ef1e4fc78
4 changed files with 15 additions and 5 deletions

View File

@ -390,7 +390,7 @@ class StockItemTracking(models.Model):
date = models.DateTimeField(auto_now_add=True, editable=False)
# Short-form title for this tracking entry
title = models.CharField(max_length=250)
title = models.CharField(blank=False, max_length=250)
# Optional longer description
notes = models.TextField(blank=True)