diff --git a/netbox_secretstore/templates/netbox_secretstore/secret_import.html b/netbox_secretstore/templates/netbox_secretstore/secret_import.html index 4bf8a8d..fa78997 100644 --- a/netbox_secretstore/templates/netbox_secretstore/secret_import.html +++ b/netbox_secretstore/templates/netbox_secretstore/secret_import.html @@ -1,4 +1,4 @@ -{% extends 'generic/object_bulk_import.html' %} +{% extends 'generic/bulk_import.html' %} {% load static %} {% block content %} diff --git a/netbox_secretstore/views.py b/netbox_secretstore/views.py index 0069fd6..94debc4 100644 --- a/netbox_secretstore/views.py +++ b/netbox_secretstore/views.py @@ -72,7 +72,7 @@ class SecretRoleDeleteView(ObjectDeleteView): class SecretRoleBulkImportView(BulkImportView): queryset = SecretRole.objects.all() - form = SecretRoleCSVForm + model_form = SecretRoleCSVForm table = SecretRoleTable @@ -183,7 +183,7 @@ class SecretDeleteView(ObjectDeleteView): class SecretBulkImportView(BulkImportView): queryset = Secret.objects.all() - form = SecretCSVForm + model_form = SecretCSVForm table = SecretTable template_name = 'netbox_secretstore/secret_import.html' widget_attrs = {'class': 'requires-session-key'} diff --git a/setup.py b/setup.py index 5213320..baa6ebd 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='netbox-secretstore', - version='1.4.0', + version='1.4.1', description='Netbox Secret Store', long_description='A Secret store for NetBox', url='https://github.com/dansheps/netbox-secretstore/',