Please post the entire view and form definition.

On Monday, 7 May 2012 00:37:42 UTC-5, Annet wrote:
>
> Massimo,
>
> I tried both solutions, they both result in the same error:
>
> Traceback (most recent call last):
>   File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py", line 
> 204, in restricted
>     ccode = compile2(code,layer)
>   File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py", line 
> 189, in compile2
>     return compile(code.rstrip().replace('\r\n','\n')+'\n', layer, 'exec')
>   File 
> "/Library/Python/2.5/site-packages/web2py/applications/bootstrap/views/generic.html"
>  <http://127.0.0.1:8000/admin/default/edit/bootstrap/views/generic.html>, 
> line 115
>     response.write('\n\n', escape=False)
>            ^
> SyntaxError: invalid syntax
>
>
>
> Kind regards,
>
> Annet.
>

Reply via email to