Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added product_model field to Category.

  • Loading branch information...
commit 711806dda1e255b6f76cb93cbb8240fb7b52f9a0 1 parent 2941f55
@AlexHill authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  cartridge/shop/models.py
View
1  cartridge/shop/models.py
@@ -342,6 +342,7 @@ class Category(Page, RichText):
A category of products on the website.
"""
+ product_model = models.CharField(editable=False, max_length=50, null=True)
featured_image = FileField(verbose_name=_("Featured Image"),
upload_to=upload_to("shop.Category.featured_image", "shop"),
format="Image", max_length=255, null=True, blank=True)
Please sign in to comment.
Something went wrong with that request. Please try again.