Is it safe to use get_request() in plugin signal? #10651
-
Hi guys, I'm currently developing a plugin and I need to make a conjunction between my model and the user who created an object of an existing model (VirtualMachine). I get the signal of the created VirtualMachine and can create my new object. I even successful tried to get the user of the request by using netbox/netbox/extras/signals.py Line 33 in f94c1e9 Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As a rule, never assume any undocumented component of the NetBox code base is safe to use. Non-public parts of the plugins API are subject to change without warning. If there's something in particular you'd like to see officially supported, please consider opening a feature request. |
Beta Was this translation helpful? Give feedback.
As a rule, never assume any undocumented component of the NetBox code base is safe to use. Non-public parts of the plugins API are subject to change without warning. If there's something in particular you'd like to see officially supported, please consider opening a feature request.