from .base import BaseView


class ListView(BaseView):

    def dispatch_request(self, **kwargs):
        pagination = self.get_pagination(**kwargs)
        self.append_context('items', pagination.items)
        self.append_context('pagination', pagination)
        return self.render()

7dc29020ffeb017f3c600749d1777a3876a9af64
<mask token>

<mask token>


class ListView(BaseView):
    <mask token>

<mask token>


class ListView(BaseView):

    def dispatch_request(self, **kwargs):
        pagination = self.get_pagination(**kwargs)
        self.append_context('items', pagination.items)
        self.append_context('pagination', pagination)
        return self.render()

from .base import BaseView


class ListView(BaseView):

    def dispatch_request(self, **kwargs):
        pagination = self.get_pagination(**kwargs)
        self.append_context('items', pagination.items)
        self.append_context('pagination', pagination)
        return self.render()
