Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of DataGridWidget


Ignore:
Timestamp:
01/29/06 19:15:19 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataGridWidget

    v1 v2  
    4646Just for completeness, here is how you can use the above form with a FastData controller: 
    4747 
    48 {{{ 
     48{{{#!python 
    4949from turbogears.fastdata import DataController 
    50 from turbogears.fastdata.datawidgets import DataGrid 
     50#from turbogears.fastdata.datawidgets import DataGrid 
     51from turbogears.fastdata.datacontroller import DataGrid 
     52from model import TG_User 
    5153 
    52 #!python 
    5354class Root(controllers.RootController): 
    5455    users = DataController(sql_class=TG_User, list_widget=users_admin_form)