def setup(self):
    super(ListWidget, self).setup()
    if (not self.title):
        self.title = self.model._meta.verbose_name_plural
    req = self.make_get_request('', self.list_params)
    self.list_view = self.get_view_class(ListAdminView, self.model)(req)
    if self.list_count:
        self.list_view.list_per_page = self.list_count
def setup(self):
    super(ListWidget, self).setup()
    if (not self.title):
        self.title = self.model._meta.verbose_name_plural
    req = self.make_get_request(, self.list_params)
    self.list_view = self.get_view_class(ListAdminView, self.model)(req)
    if self.list_count:
        self.list_view.list_per_page = self.list_count