Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add help text for Product images.

  • Loading branch information...
commit 9c13c415aa972ca52972929a1f80511332e26306 1 parent 37fe317
@rlr rlr authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 kitsune/products/models.py
View
4 kitsune/products/models.py
@@ -18,7 +18,9 @@ class Product(ModelBase):
description = models.TextField()
image = models.ImageField(upload_to=settings.PRODUCT_IMAGE_PATH, null=True,
blank=True,
- max_length=settings.MAX_FILEPATH_LENGTH)
+ max_length=settings.MAX_FILEPATH_LENGTH,
+ # no l10n in admin
+ help_text=u'The image must be 96x96.')
image_offset = models.IntegerField(default=None, null=True, editable=False)
image_cachebuster = models.CharField(max_length=32, default=None,
null=True, editable=False)
Please sign in to comment.
Something went wrong with that request. Please try again.