Hi,
I wanted to extend some models, I started with RawItem from the supplier
module, my idea is to add a url to the supplier website
so I added to the localsite/models.py :
from django.db import models
from django.utils.translation import ugettext_lazy as _
from product.models import Product
from satchmo_store.contact.supplier.models import RawItem
from django.contrib import admin
class RawItemExtend():
# TODO: your attributes here
item_link = models.URLField(_("Item link"))
RawItem.__bases__ += (RawItemExtend,)
but it doesn't show on the admin page when adding a raw item, what's the
best approach for extending satchmo models?
thanks
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.