from netbox.plugins import PluginTemplateExtension class IPRangeListActions(PluginTemplateExtension): models = ["ipam.iprange"] def list_buttons(self): return self.render("netbox_better_ips/inc/iprange_list_buttons.html") template_extensions = (IPRangeListActions,)