Il 03/08/2012 14:00, ha scritto:
Send Zope mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Zope digest..."

Today's Topics:

    1. Catalog a dictionary (Giampiero Benvenuti)


Message: 1
Date: Fri, 3 Aug 2012 13:13:34 +0200
From: Giampiero Benvenuti<>
Subject: [Zope] Catalog a dictionary
Content-Type: text/plain; charset=us-ascii


can you please give me some hints on how to catalog a list of dictionaries? Is 
it possible?

L= [{'id':'1','lastName':'Rossi','firstName':'Mario'}, {...), etc..]

  for d in L:
        context.Mycatalog.catalog_object( d, d['id'])

Thanks so much in advance!



Zope maillist  -

End of Zope Digest, Vol 98, Issue 1

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to