alonn
unread,Aug 6, 2012, 1:16:57 PM8/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to turbo...@googlegroups.com
I need a delete action in a table view in the defaultadmincontroller. I thought that was default behavior but for some reason I'm not getting it. tried customizing from the tutorial but didn't help either:
class MyAdminConfig(TGAdminConfig): # overridding the default Time_stamp look
class time_stamp(CrudRestControllerConfig):
class table_type(TableBase):
__entity__ = Time_stamp
__limit_fields__ = ['stamp', 'timestamp']
class table_filler_type(TableFiller):
__entity__ = Time_stamp
__limit_fields__ = ['id', 'stamp', 'timestamp']
I'm quite a newbie with turbogears so maybe I'm missing something obvious
and another small question, where can I customize the table css (grid td, .grid th) ?
tg 2.1.3