Skip to content

Commit

Permalink
Fix for #32
Browse files Browse the repository at this point in the history
The card is missing from device pages because the model name is mis-capitalized.
  • Loading branch information
kvondersaar authored Oct 18, 2021
1 parent 86f9135 commit 469674a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox_secretstore/template_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 469674a

Please sign in to comment.