I want to add fckeditor to my satcho based site.
I need to add a subclass Media to ProductOptions in admin but I don't
want to edit satchmo tree.

It is possible to load a custom admin.py file instead of satchmo.products.admin?
Something like:

from satchmo.product.admin import *

admin.site.unregister(Product)

class CustomProductOptions(ProductOptions):
    class Media:
        js = ('fckeditor/fckeditor.js', 'fckeditor/custom/satchmo_product.js')

admin.site.register(Product,CustomProductOptions )

thanks in advance.
-- 
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net

SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928

Rispetta l'ambiente: se non ti è necessario, non stampare questa mail

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