I have a pre-save listener that updates the second model. Same as in this example:
- Django Signals to update another model
I want to inform the user that the listener was able to update the model and provide some information. Normally, I think I could use the built-in message functions that django has. The problem is that the signal does not have access to the "request". Therefore, I do not see how to use the built-in in the Django Messaging Framework.
Is there a known way to send a message to a user in the admin? Maybe overriding the save () method for one of the models? (the one who sends the signal or receives), but I donβt think the save () method has access to the "request"?
Should it be something that others want to do too?
django
Jglstewart
source share