def METHOD_NAME(self, instance):
    attrs = super().METHOD_NAME(instance)
    if self.use_row_ordering_attributes:
        attrs["id"] = "page_%d" % instance.id
        attrs["data-page-title"] = instance.get_admin_display_title()
    return attrs