On Fri, Sep 19, 2008 at 7:13 AM, Alessandro <[EMAIL PROTECTED]>wrote:

> 2008/9/17 Bruce Kroeze <[EMAIL PROTECTED]>:
>
> > We didn't have any, but today I added a new optional app that handles
> brands
> > and brand categories.  I had been using it for my clients, but it does
> seem
> > generally useful, so enjoy.
> > Bruce Kroeze
> > http://gosatchmo.com
>
>
> It's great, thank you.
> I want the brand choice in Product page.
>
> Can I change this behaviour in my project without modify the satchmo code?
>
> Something like a py file with inside:
>
> admin.site.unregister(Product)
>
> class ProductOptionsCustom(ProductOptions):
>    inlines = inlines + [Brand]
>
> admin.site.register(Product,ProductOptionsCustom)
>

Good idea, it was a little more complex than that, so I just went ahead and
did it in rev 1532.  Now when you use that app, it will automatically show
in your Product admin screen.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to