If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    ammz  14 years ago
    ups, ok this is it
    Traceback (most recent call last):
      File "/home/drayco/web2py/gluon/restricted.py", line 178, in restricted
        exec ccode in environment
      File "/home/drayco/web2py/applications/seccion36_3_1/controllers/entregas.py", line 160, in 
      File "/home/drayco/web2py/gluon/globals.py", line 96, in 
        self._caller = lambda f: f()
      File "/home/drayco/web2py/gluon/tools.py", line 2221, in f
        return action(*a, **b)
      File "/home/drayco/web2py/applications/seccion36_3_1/controllers/entregas.py", line 158, in lee_entregas
        return dict(gridpag=grid())
      File "/home/drayco/web2py/applications/seccion36_3_1/modules/webgrid.py", line 441, in __call__
        tr.components.append(TD(self.view_link(row),
      File "/home/drayco/web2py/applications/seccion36_3_1/controllers/entregas.py", line 144, in 
        grid.view_link= lambda row: A('view', _href= crud.url(f='show_entrega', args=[row['pagos']['id']]))
      File "/home/drayco/web2py/gluon/sql.py", line 661, in __getitem__
        return dict.__getitem__(self, key)
    KeyError: 'pagos
    
    thank's in advanced

Commented on:

This is a module that lets you build a table on the server that supports paging, sorting, editing and totals easily. It requires no javascript or sessions to work.

Hosting graciously provided by:
Python Anywhere