def __init__(self, request, model, list_display, list_display_links,
            list_filter, date_hierarchy, search_fields, list_select_related,
            list_per_page, list_max_show_all, list_editable, model_admin):
        try:
            super(DocumentChangeList, self).__init__(
                request, model, list_display, list_display_links, list_filter,
                date_hierarchy, search_fields, list_select_related,
                list_per_page, list_max_show_all, list_editable, model_admin)
        except __HOLE__:
            self.list_max_show_all = list_max_show_all
            # The init for django <= 1.3 takes one parameter less
            super(DocumentChangeList, self).__init__(
                request, model, list_display, list_display_links, list_filter,
                date_hierarchy, search_fields, list_select_related,
                list_per_page, list_editable, model_admin)
        self.pk_attname = self.lookup_opts.pk_name
dataset/ETHPy150Open MongoEngine/django-mongoengine/django_mongoengine/mongo_admin/views.py/DocumentChangeList.__init__