My CrudRestController does not fill the table. what is the reason?
only i am problems when I overwrite the function get_all
class MonteController(CrudRestController):
allow_only = predicates.in_group('managers')
model = Monte
@expose('forplanning.templates.monte', inherit=True)
def get_all(self, *args, **kw):
return super( MonteController, self).get_all(*args, **kw)
class new_form_type(AddRecordForm):
__model__ = Monte
class edit_form_type(EditableForm):
__model__ = Monte
class edit_filler_type(EditFormFiller):
__model__ = Monte
class table_type(TableBase):
__model__ = Monte
class table_filler_type(TableFiller):
__model__ = Monte
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.