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

Attach object modification signals before running a custom script

This commit is contained in:
Jeremy Stretch
2020-08-17 13:43:48 -04:00
parent ff5a3c1055
commit 81c72739b5
2 changed files with 23 additions and 3 deletions

View File

@@ -312,5 +312,6 @@ def copy_safe_request(request):
'GET': request.GET,
'FILES': request.FILES,
'user': request.user,
'path': request.path
'path': request.path,
'id': getattr(request, 'id', None), # UUID assigned by middleware
})