@login_required<EOL>@api_view(['<STR_LIT:POST>'])<EOL>def mark_all_read(request):
from .settings import stored_messages_settings<EOL>backend = stored_messages_settings.STORAGE_BACKEND()<EOL>backend.inbox_purge(request.user)<EOL>return Response({"<STR_LIT:message>": "<STR_LIT>"})<EOL>
Mark all messages as read (i.e. delete from inbox) for current logged in user