You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirement to disconnect the post_delete signal temporarily in some places. I have tried disconnecting but it seems it is not working. Is this the default behavior or is there any way to disconnect? (for bulk delete operation)
I have enabled the audit log to all the models from the settings file.
Since I'm using Django multi-tenant, for each deleted record the signal still gets triggered but the log is not inserted, and the Django multi-tenant executes a query to set the search path. This takes a lot of time if there are a lot of records. Is there any possible way to completely disconnect the signal?
The text was updated successfully, but these errors were encountered:
Hi Team,
I have a requirement to disconnect the post_delete signal temporarily in some places. I have tried disconnecting but it seems it is not working. Is this the default behavior or is there any way to disconnect? (for bulk delete operation)
I have enabled the audit log to all the models from the settings file.
Current failed implementation:
I couldn't able to use
disable_auditlog()
Since I'm using Django multi-tenant, for each deleted record the signal still gets triggered but the log is not inserted, and the Django multi-tenant executes a query to set the search path. This takes a lot of time if there are a lot of records. Is there any possible way to completely disconnect the signal?
The text was updated successfully, but these errors were encountered: