class Parent(object):

    def get_context_data(self, **kwargs):
        print('Parent')


class ListSortedMixin(object):

    def get_context_data(self, **kwargs):
        print('ListSortedMixin')
return super(ListSortedMixin, self).get_context_data(**kwargs)


class ListPaginatedMixin(object):

    def get_context_data(self, **kwargs):
        print('ListPaginatedMixin')
return super(ListPaginatedMixin, self).get_context_data(**kwargs)


class MyListView(ListSortedMixin, ListPaginatedMixin, Parent):

    def get_context_data(self, **kwargs):
        return super(MyListView, self).get_context_data(**kwargs)
m = MyListView()
m.get_context_data(l='l')
Python multiple inheritance function overriding and ListView in django