Вы оказались на правильном пути с первым предположением: templates / product / product.html.
Если MyProduct написано так:
class MyProduct(Product):
# ...
steele_level = model.IntegerField()
objects = ProductManager() # using this object manager is key!
И это зарегистрировано админом:
admin.site.regsiter(MyProduct)
Тогда вы сможете создать новый MyProduct в админке, а затем отключить свойство myproduct
для продукта в product / product.html:
{% if product.myproduct %}
This is a MyProduct with Steele Level: {{ product.myproduct.steele_level }}!
{% endif %}
Или, если вы предпочитаете возиться в оболочке ./manage.py:
from project.models import MyProduct
from satchmo_store.shop.models import Product
for p in Product.objects.all():
print p
if hasattr(p, 'myproduct'):
print " >>> That was a MyProduct with steele_level %s" % p.myproduct.steele_level