From 469674a0f90772606a772c470c593af520ba68f2 Mon Sep 17 00:00:00 2001 From: kvondersaar <54597358+kvondersaar@users.noreply.github.com> Date: Mon, 18 Oct 2021 15:44:26 -0500 Subject: [PATCH] Fix for #32 The card is missing from device pages because the model name is mis-capitalized. --- netbox_secretstore/template_content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox_secretstore/template_content.py b/netbox_secretstore/template_content.py index f002332..0f9e892 100644 --- a/netbox_secretstore/template_content.py +++ b/netbox_secretstore/template_content.py @@ -12,11 +12,11 @@ def right_page(self): class DeviceSecrets(Secrets): - model = 'dcim.Device' + model = 'dcim.device' class VMSecrets(Secrets): - model = 'virtualization.VirtualMachine' + model = 'virtualization.virtualMachine' template_extensions = [DeviceSecrets, VMSecrets]