Relative Content

Tag Archive for djangodjango-rest-frameworkdjango-messagesdjango-logging

Django messages not saved when a new request is called inside a view

I am trying to make a message/logging system where the user/front-end can get the progress status of the process currently running in a thread they initiated (what they started, where the process is currently at, did it successfully finished, or if its error, pass the error message). There is already a logging mechanism which saves the info to a .log file, but since I want it to be sent to the user who requested it, I used django.messages instead.