Skip to content

Commit e0fe3e4

Browse files
committed
NPL-379 Add bulk import to Custom Object
1 parent 2f972be commit e0fe3e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

netbox_custom_objects/views.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,10 @@ def get(self, request, custom_object_type):
524524
# Necessary because get() in BulkImportView only takes request and no **kwargs
525525
return super().get(request)
526526

527+
def post(self, request, custom_object_type):
528+
# Necessary because post() in BulkImportView only takes request and no **kwargs
529+
return super().post(request)
530+
527531
def setup(self, request, *args, **kwargs):
528532
super().setup(request, *args, **kwargs)
529533
self.queryset = self.get_queryset(request)

0 commit comments

Comments
 (0)