code: def outbox(request, template_name='django_messages/outbox.html'):
      
      message_list = Message.objects.outbox_for(request.user)
      return render(request, template_name, {
          'message_list': message_list,
      })
docs: Displays a list of sent messages by the current user.
      Optional arguments:
          ``template_name``: name of the template to use.