Permalink
Browse files

Change stray "Page"s to "Product"s in comments.

  • Loading branch information...
1 parent 4dc2df7 commit ccc3ed7f042fa660d737f496f6bc4d5e63819a61 @AlexHill AlexHill committed Sep 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 cartridge/shop/models.py
  2. +1 −1 cartridge/shop/templatetags/shop_tags.py
@@ -118,7 +118,7 @@ class Meta:
@classmethod
def get_content_models(cls):
"""
- Return all Page subclasses.
+ Return all ``Product`` subclasses.
"""
is_product_subclass = lambda cls: issubclass(cls, Product)
cmp = lambda a,b: (int(b is Product) - int(a is Product) or
@@ -81,7 +81,7 @@ def order_totals_text(context):
def models_for_products(*args):
"""
Create a select list containing each of the models that subclass the
- ``Product`` model, plus the Product model itself.
+ ``Product`` model, plus the ``Product`` model itself.
"""
product_models = []
for model in Product.get_content_models():

0 comments on commit ccc3ed7

Please sign in to comment.