0👍
✅
Well I used the following code to implement the same functionality:
from django.contrib.auth.models import Message
Message(user=request.user, message="Date Updated Successfully").put()
though
request.user.message_set.create(message= “Data Updated Successfully”)
was not working.
Source:stackexchange.com