kozlyuk / smartmed

GNU General Public License v3.0
1 stars 0 forks source link

Add products_count method to Brand model. Count products of brand. #45

Open kozlyuk opened 5 years ago

kozlyuk commented 5 years ago

Template usage: {% for brand in brands %} {{ brand.product_count }} {% endfor %}