[Product-Developers] DataGridField

Jean Jordaan jean.jordaan at gmail.com
Wed Jul 18 02:13:20 UTC 2012

On Wed, Jul 18, 2012 at 3:00 AM, Nicolas Azevedo <nicolasazev at gmail.com> wrote:
> I'm following this
> tutorial(http://plone.org/products/ploneformgen/documentation/tutorial/advanced-sql-crud-with-ploneformgen/tutorial-all-pages)
> to learn how to use this product, but when I create the python script
> "py_insert_data" happens a syntax error "invalid syntax (Script (Python),
> line 17)."

I just looked at the page for a second, and I noticed there's a
missing colon at the end of this line:

    for key in data['keywords']

It should be:

    for key in data['keywords']:

Read the scripts carefully, and try them out step by step to make sure
you follow what they're doing.

jean                                              . .. .... //\\\oo///\\

More information about the Product-Developers mailing list