1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Extend BulkImportView._save_obj to pass request context

This commit is contained in:
Jeremy Stretch
2020-03-09 12:39:07 -04:00
parent ad9dfec894
commit 947affd78f
4 changed files with 20 additions and 17 deletions

View File

@ -206,7 +206,7 @@ class SecretBulkImportView(BulkImportView):
master_key = None
def _save_obj(self, obj_form):
def _save_obj(self, obj_form, request):
"""
Encrypt each object before saving it to the database.
"""