Enlarge field size of Item.picture

This commit is contained in:
Raphael Michel
2018-03-28 14:17:52 +02:00
parent a284e0c2f7
commit e278978ad9
2 changed files with 31 additions and 1 deletions

View File

@@ -248,7 +248,7 @@ class Item(LoggedModel):
)
picture = models.ImageField(
verbose_name=_("Product picture"),
null=True, blank=True,
null=True, blank=True, max_length=255,
upload_to=itempicture_upload_to
)
available_from = models.DateTimeField(