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
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears/-/HP1nEh3UC2sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.