2009/1/16 Chaitanya Sharma <[email protected]>:
> Hi,
>
> Does an API Exist that can return me the list of all the alternate/multiple
> images that have been uploaded for one particular category or one particular
> product.
>
> I've been reading going through satchmo/apps/product/models.py and all I
> could find is
>
>     def _get_mainImage(self):
>     ...
>     main_image = property(_get_mainImage)
>
>
> An alternate mechanism to get this data would also be really helpful.

for pic in product.productimage_set.all()
does not work for you?

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