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