def __init__(self, controller, **kwargs):
# model and fields exist on View itself and need to be overwritten
super(ControllerMixin, self).__init__(view=self,
controller=controller,
model=controller.model,
fields=controller.fields,
**kwargs)
评论列表
文章目录