You are using web2py stable. groupby is only in trunk. In 5 minutes, try 
the nightly build.



On Saturday, 21 July 2012 12:35:55 UTC-5, david.waldrop wrote:
>
> Massimo, it does not accept the groupby in theSQLFORM.grid.
>
> 1
>
> 2
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
>
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 205, in restricted
>   File "C:/Users/david/My 
> Projects/Miscelaneous/web2py/applications/COPSIS2_1/controllers/org.py" 
> <http://127.0.0.1:8000/admin/default/edit/COPSIS2_1/controllers/org.py>, line 
> 162, in <module>
>   File "gluon/globals.py", line 175, in <lambda>
>   File "gluon/tools.py", line 2679, in f
>   File "C:/Users/david/My 
> Projects/Miscelaneous/web2py/applications/COPSIS2_1/controllers/org.py" 
> <http://127.0.0.1:8000/admin/default/edit/COPSIS2_1/controllers/org.py>, line 
> 88, in orgs_grid
> TypeError: grid() got an unexpected keyword argument 'groupby'
>
>

-- 



Reply via email to